码迷,mamicode.com
首页 >  
搜索关键字:assign    ( 1802个结果
target-action传值
Target-Action传值实质就是:A页面要给B页面传值,A就提供接口出去,抓A到B内部来,A间接调用自己内部方法(相当于,A把自己内部需要操作的方法,传到B内来,到B内部进行赋值,这样就不存在访问不到各自的局部实例变量)@property(nonatomic,assign)idtraget;@property(nonatomic,assign..
分类:其他好文   时间:2014-10-08 02:00:33    阅读次数:429
属性修饰词
接口文件1:Animal.h#import #import "Cat.h"@interface Animal : NSObject{// NSString *_color;// NSString *_name; Cat *_cat;}@property (nonatomic,assign,readw...
分类:其他好文   时间:2014-10-06 22:39:30    阅读次数:194
C++ Variables and Basic Types Notes
1. Type conversion:If we assign an out-of-range value to an object of unsigned type, the result is the remainder of the value modulo the number of val...
分类:编程语言   时间:2014-10-03 18:53:04    阅读次数:198
UIPickerView常用属性 -- 小总结
一.UIPickerView1.UIPickerView的常见属性// 数据源(用来告诉UIPickerView有多少列多少行)@property(nonatomic,assign) id dataSource;// 代理(用来告诉UIPickerView每1列的每1行显示什么内容,监听UIPick...
分类:其他好文   时间:2014-10-03 02:30:13    阅读次数:198
WEB项目中使用QQ表情
首先引入  jquery 、   jquery.qqFace.js (官网下载完整包) $(function(){ $('.emotion').qqFace({ id : 'facebox', assign:'saytext', path:'arclist/' //表情存放的路径 }); $(".sub_btn").click(function(){ var s...
分类:Web程序   时间:2014-10-02 15:45:33    阅读次数:560
[webapp]ios safari 正确使用js跳转
在safari上,以往屡试不爽的location.href = url; 变得不好用了。使用该方法跳转到新的网页,无法使用后退按钮回到上个页面。想想也是,直接修改值得方式跳转总是怪怪的,但是从刚学网页到现在都是这么用的,也就习惯了。回头看了一下location对象,发现有个assign函数,原来是有...
分类:移动开发   时间:2014-09-30 01:38:31    阅读次数:219
类的三个特殊成员Copy Constructor、Copy-Assignment Operator、Destructor重载与使用
今天看《C++ Primer》的13.1节——Copy, Assign, and Destroy 被这几个玩意儿弄得晕得不行:   ◆   Copy Constructor   ◆   The Copy-Assignment Operator   ◆   Destructor 主要问题集中在:   ◆   我们在什么时候需要自己重写?...
分类:其他好文   时间:2014-09-29 00:05:26    阅读次数:319
smarty连接字符串(磨死我了!!!!)
index.php: $smarty = new Smarty; $smarty->assign(‘articleTitle‘, "Psychics predict world didn‘t end"); $smarty->display(‘index.tpl‘); index.tpl: {$articleTitle|cat:" yesterday."} OUTPUT: Psychics p...
分类:其他好文   时间:2014-09-28 20:29:45    阅读次数:203
assign、strong、copy
举个例子: NSString*houseOfMM= [[NSStringalloc]initWithString:'装梵几的三室两厅'];上面一段代码会执行以下两个动作:1 在堆上分配一段内存用来存储@'装梵几的三室两厅' ,比如:内存地址为0X1111内容为 '装梵几的三室两厅',2 在栈上分配一...
分类:其他好文   时间:2014-09-20 15:15:57    阅读次数:198
Class Styles
The class styles define additional elements of the window class. Two or more styles can be combined by using the bitwise OR (|) operator. To assign a ...
分类:其他好文   时间:2014-09-19 23:40:26    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!