设置模型属性
2017-04-25 本文已影响0人
吴文辉99
#ifdef DEBUG
#define NSLog(FORMAT, ...) fprintf(stderr,"%s\n",[[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
#else
#define NSLog(...)
#endif
NSDictionary *userAccountBasse = dict[@"accountList"][0];
//NSLog(@"%@",userAccountBasse);
for (int i = 0; i < [userAccountBasse allKeys].count; i ++) {
NSString *ss = [NSString stringWithFormat:@"@property (nonatomic, copy) NSString *%@;",[userAccountBasse allKeys][i]];
NSLog(@"%@",ss);
}