摘要:
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 阅读全文
摘要:
http://my.oschina.net/sunboy2050/blog/55749 阅读全文