摘要: synthesize creates setter and getter(从Objective-C 2.0开始,合成可自动生成存取方法)the setter is used by IOS to set the pointer of the object on storyboardwe uses getter anytime we want to call the object on storyboard and send messages属性合成的步骤:1) 在接口部分(也就是头文件)使用@property指令标识属性 eg: @property int numerator, denomina 阅读全文
posted @ 2014-02-06 16:38 Master HaKu 阅读(302) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/sunboy2050/blog/55749 阅读全文
posted @ 2014-02-06 10:15 Master HaKu 阅读(202) 评论(0) 推荐(0) 编辑