2015年5月21日
摘要: 封装:隐藏内部实现,稳定外部接口.封装就是定义类 定义属性 定义方法属性封装了setter get方法@property(nonatomic,retain)NSString*name,*sex;类封装了实例变量和方法#import@interfacePerson :NSObject{NSString... 阅读全文
posted @ 2015-05-21 23:07 lizzie8023 阅读(122) 评论(0) 推荐(0) 编辑