NSDictionary *dict2 = @{
@"name":@"Lxxe"
@"student": @{
@"icon":@"lilii.png"
@"age":@20
}
};
CFPersonModel2 *model2 = [[CFPersonModel2 alloc] initWithDataDic:dict2];
NSDictionary *dict2 = @{
@"name":@"Lxxe"
@"student": @{
@"icon":@"lilii.png"
@"age":@20
}
};
CFPersonModel2 *model2 = [[CFPersonModel2 alloc] initWithDataDic:dict2];
本文标题:字典和模型的自动转换
本文链接:https://www.haomeiwen.com/subject/ljcvhhtx.html
网友评论