首页 > 代码库 > iOS开发解决 jsonModel 属性跟系统的重复

iOS开发解决 jsonModel 属性跟系统的重复

-(id)initWithDic:(NSDictionary *)dic{    if (self = [super init]) {                [self setValuesForKeysWithDictionary:dic];    }    return self;}-(void)setValue:(id)value forUndefinedKey:(NSString *)key{    if ([key isEqualToString:@"new_app_picpath"]) {        _mynew_app_picpath = value;    }}

技术分享

iOS开发解决 jsonModel 属性跟系统的重复