摘要: 1. .h ->@property int x,y; .m->不使用 @synthesize,生成的setter和getter是_x, _y. 使用@syntherisze x,y; 生成的setter和getter都是x, y; 2. .h -> 多参数函数: -(void) setX: (int 阅读全文
posted @ 2017-09-04 17:42 笑面浮屠 阅读(224) 评论(0) 推荐(0) 编辑