Skip to content

Instantly share code, notes, and snippets.

@danielctull
Created December 6, 2010 18:04
Show Gist options
  • Save danielctull/730652 to your computer and use it in GitHub Desktop.
Save danielctull/730652 to your computer and use it in GitHub Desktop.
[managedObjectContext dct_asynchronousObjectsForEntityName:@"DCTCDGroup"
predicate:predicate
sortDescriptors:sortDescriptors
callbackBlock:^(NSArray *fetchedObjects, NSError *error) {
NSLog(@"sorted fetchedObjects: %@", fetchedObjects);
NSLog(@"error: %@", error);
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment