(retain,nonatomic)和(nonatomic,retain)有什么区别?

8
在这样的代码中,(retain, nonatomic)和(nonatomic, retain)有什么区别?
@property (retain, nonatomic) YellowViewController *yellowViewController;

?

2个回答

12

没有区别——属性特征符的顺序并不重要。


4

我见过两种方式的使用 - 没有区别。



网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接