mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-07 23:06:59 +08:00
Added support for counting objects of a type in the store. More bubble gum for associated object creation on JSON
This commit is contained in:
@@ -71,7 +71,9 @@
|
||||
|
||||
- (void)processLoadModelsInBackground:(RKResponse *)response {
|
||||
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
|
||||
NSLog(@"Processing response %@", [response payloadString]);
|
||||
NSArray* models = [_mapper buildModelsFromString:[response payloadString]];
|
||||
NSLog(@"Loaded models %@", models);
|
||||
[_delegate performSelectorOnMainThread:self.callback withObject:models waitUntilDone:NO];
|
||||
[pool release];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user