2015年10月9日

【转】iOS中属性与成员变量的区别

摘要: 一、类Class中的属性property 在ios第一版中,我们为输出口同时声明了属性和底层实例变量,那时,属性是oc语言的一个新的机制,并且要求你必须声明与之对应的实例变量,例如:@interface MyViewController :UIViewController{ UIButton... 阅读全文

posted @ 2015-10-09 11:13 karen我心永恒 阅读(112) 评论(0) 推荐(0) 编辑

导航