the*_*guy 10 core-data automatic-ref-counting
当我在ARC模式下在CoreData中为我的实体创建模型对象时,它会生成retain而不是strong.那么保留工作并在ARC模式下编译也是如此?我认为在ARC模式下我们不能使用release,autorelease和retain关键字?
您的意思是它会生成@property这样的声明吗?
@property (nonatomic, retain) MyObject *object;
Run Code Online (Sandbox Code Playgroud)
propertyretain属性是指strongARC下的。
| 归档时间: |
|
| 查看次数: |
2270 次 |
| 最近记录: |