码迷,mamicode.com
首页 >  
搜索关键字:__unsafe_unretain    ( 2个结果
property attribute: assign, strong, weak, unsafe_unretain and copy
assign:用于“纯量类型”(如CGFloat 或 NSInteger等); strong:用于“对象类型”,定义了一种“拥有关系”(owning relationship),为这种属性设置新值时,设置方法会先保留新值,并释放旧值,然后再将新值设置上去; weak:用于“对象类型”,定义了一种“非
分类:其他好文   时间:2016-03-18 00:23:45    阅读次数:203
OC语法--__unsafe_unretain、__strong、__weak、__autoreleasing的作用
nomantic、copy、retain等属性见前面的文章 今天看__unsafe_unretain、__strong、__weak、__autoreleasing这四种属性 __unsafe_unretain、__strong、__weak、__autoreleasing是出现在 LLVM 编译器 3.0版本之后。 而__unsafe_unretain、__strong、__autorel...
分类:其他好文   时间:2015-04-25 18:29:29    阅读次数:189
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!