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:
Blake Watters
2010-02-25 14:12:32 -05:00
parent 1908bfb1d6
commit db6c8d68c6
4 changed files with 22 additions and 2 deletions

View File

@@ -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];
}