Skip to content

Instantly share code, notes, and snippets.

@mslathrop
Forked from maruno/gist:5451607
Created February 9, 2014 17:55
Show Gist options
  • Save mslathrop/8903057 to your computer and use it in GitHub Desktop.
Save mslathrop/8903057 to your computer and use it in GitHub Desktop.
if(SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"6.0")) {
//HACK iOS 6 does not retain correctly, causing a refcount of -1, creating a NSZombie
CFBridgingRetain(self.fetchedResultsController.fetchRequest.affectedStores);
}
[self.fetchedResultsController performFetch:&error];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment