mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Changed signature of willMapData: to allow you to completely replace the mappableData.
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
|
||||
if ([self.delegate respondsToSelector:@selector(objectLoader:willMapData:)]) {
|
||||
parsedData = [[parsedData mutableCopy] autorelease];
|
||||
[(NSObject<RKObjectLoaderDelegate>*)self.delegate objectLoader:self willMapData:parsedData];
|
||||
[(NSObject<RKObjectLoaderDelegate>*)self.delegate objectLoader:self willMapData:&parsedData];
|
||||
}
|
||||
|
||||
RKObjectMapper* mapper = [RKObjectMapper mapperWithObject:parsedData mappingProvider:mappingProvider];
|
||||
|
||||
Reference in New Issue
Block a user