- mantle中自帶的mtl_identityPropertyMapWithModel 函數(shù)归榕,可以做轉(zhuǎn)換慰照,用法
+(NSDictionary *)JSONKeyPathsByPropertyKey
{
NSMutableDictionary *mapping = [[NSDictionary mtl_identityPropertyMapWithModel:self] mutableCopy];
return mapping;
}
+(NSDictionary *)JSONKeyPathsByPropertyKey
{
NSMutableDictionary *mapping = [[NSDictionary mtl_identityPropertyMapWithModel:self] mutableCopy];
return mapping;
}