Good afternoon everyone,
So I have been looking for this function that Blake supposedly pushed to origin something like a month ago:
- (void)setObjectMapping:(RKObjectMappingDefinition *) forResourcePathPattern:(NSString*) keyPath:(NSString *)
Right now I need to have some sort of keyPaths since my JSON response from Tastypie is {meta:{}, objects{}} (so I need "objects"). I don't understand how to use this function:
[omp setObjectMapping:cellMapping forResourcePathPattern:@"/cells/?format=json" withFetchRequestBlock: to replace the behavior that I want, and the function mentioned in the first paragraph is not in my RestKit API. According to CocoaPods, I am at version Using RestKit (0.10.3) defaulting to JSON subspec.
If it is not released yet, how can I set a KeyPath, as well as a forResourcePathPattern?!
Thanks a lot!