
IOS-常见问题
yijianhantian
这个作者很懒,什么都没留下…
展开
-
ios strong和weak关键字
iOS 5 中对属性的设置新增了strong 和weak关键字来修饰属性(iOS 5 之前不支持ARC) strong 用来修饰强引用的属性; @property (strong) SomeClass * aObject; 对应原来的 @property (retain) SomeClass * aObject; 和 @property (copy) SomeClass * aOb转载 2014-12-17 20:06:37 · 112 阅读 · 0 评论 -
ARC的工程里使用不支持ARC的对象
http://segmentfault.com/q/1010000000122378 http://blog.youkuaiyun.com/sqc3375177/article/details/9159163 如何在一个开启了ARC的工程里使用不支持ARC的对象? 1. 选择你编译的的target,build phases-->Compiled sources中,双击没用ar转载 2014-12-17 18:17:55 · 351 阅读 · 0 评论