摘要:
举例:首先定义TestModel如下:@interface TestModel : NSObject@property (nonatomic, strong) NSString *name;@property (nonatomic, strong) NSString *desc;@property (nonatomic, assign) int age;@end然后在viewControl中viewDidLoad中添加如下代码 TestModel *model = [[TestModel alloc] init]; model.name = @"Jack"; model.a 阅读全文
posted @ 2014-02-27 18:47 吕霖 阅读(726) 评论(0) 推荐(0) 编辑