Docs for mapping operation data source. Still don't love the method names. Maybe we can eliminate this somehow...

This commit is contained in:
Blake Watters
2012-09-19 22:55:25 -04:00
parent 5a20754698
commit 991ced34da
7 changed files with 74 additions and 12 deletions

View File

@@ -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;