1.assign适用于int,float原生类型
@property (nonatomic, assign) int package_id;
2.retain是浅复制
@property (nonatomic,retain) NSArray<PageInfo *> *pageArray;
3.copy是深复制
@property (nonatomic,copy) NSString *name;
1.assign适用于int,float原生类型
@property (nonatomic, assign) int package_id;
2.retain是浅复制
@property (nonatomic,retain) NSArray<PageInfo *> *pageArray;
3.copy是深复制
@property (nonatomic,copy) NSString *name;