Changed signature of willMapData: to allow you to completely replace the mappableData.

This commit is contained in:
Blake Watters
2011-06-28 11:46:03 -04:00
parent 0949337749
commit 851df3bcba
4 changed files with 10 additions and 7 deletions

View File

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