摘要:
主要内容点语法@property @synthesize 用法如何使用点语法--------我是分割线--------@peoperty int age; 等价于- (void) setAge:(int)newAge;- (int) age;<newDog.h>#import <Foundation/Foundation.h>@interface newDog : NSObject{ int _age;}@property int age;@end@synthesize age = _age; 等价于- (void) setAge:(int)newAge{ _age = 阅读全文
posted @ 2013-01-06 20:00 ADaii 阅读(188) 评论(0) 推荐(0) 编辑