iPhone中strong和weak属性

strong,weak 用来修饰属性。 strong 用来修饰强引用的属性; @property (strong) SomeClass * aObject;  对应原来的  @property (retain) SomeClass * aObject; 和 @property (copy) SomeClass * aObject;  weak 用来修饰弱引用的属性; @property (weak
相关文章
相关标签/搜索