mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-20 15:44:21 +08:00
Docs for mapping operation data source. Still don't love the method names. Maybe we can eliminate this somehow...
This commit is contained in:
@@ -252,8 +252,7 @@ NSString * const RKMappingErrorKeyPathErrorKey = @"keyPath";
|
||||
}
|
||||
|
||||
if (objectMapping) {
|
||||
id object = [self.mappingOperationDataSource objectForMappableContent:mappableData mapping:objectMapping];
|
||||
return object;
|
||||
return [self.mappingOperationDataSource mappingOperation:nil targetObjectForRepresentation:mappableData withMapping:objectMapping];
|
||||
}
|
||||
|
||||
return nil;
|
||||
|
||||
Reference in New Issue
Block a user