oc 属性类型一般用法

 

@property (nonatomic,assign) int ticketCount;

NSString :copy  -> @property (nonatomic,copy) NSTring *name;

block :copy -> @property (nonatomic,copy) void (^myBlock)();

delegate,ui :weak

 

上一篇:OC中的NSDictionary和NSMutableDictionary


下一篇:OC runtime