mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-12 19:19:41 +08:00
Changed signature of willMapData: to allow you to completely replace the mappableData.
This commit is contained in:
@@ -60,8 +60,11 @@
|
||||
to extract data from the parsed payload that is not object mapped, but is interesting for one
|
||||
reason or another. The mappableData will be made mutable via mutableCopy before the delegate
|
||||
method is invoked.
|
||||
|
||||
Note that the mappable data is a pointer to a pointer to allow you to replace the mappable data
|
||||
with a new object to be mapped. You must dereference it to access the value.
|
||||
*/
|
||||
- (void)objectLoader:(RKObjectLoader*)loader willMapData:(id)mappableData;
|
||||
- (void)objectLoader:(RKObjectLoader*)loader willMapData:(inout id *)mappableData;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user