Skip to content

Instantly share code, notes, and snippets.

@evanlong
Created October 10, 2011 22:14
Show Gist options
  • Save evanlong/1276737 to your computer and use it in GitHub Desktop.
Save evanlong/1276737 to your computer and use it in GitHub Desktop.
makes stuff work
- (void)controllerWillChangeContent:(NSFetchedResultsController *)controller {
}
- (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath *)newIndexPath {
}
- (void)controller:(NSFetchedResultsController *)controller didChangeSection:(id<NSFetchedResultsSectionInfo>)sectionInfo atIndex:(NSUInteger)sectionIndex forChangeType:(NSFetchedResultsChangeType)type {
}
- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller {
[self.tableView reloadData];
}
@timonus
Copy link

timonus commented Oct 11, 2011

I have exactly this code in a project I'm working on for somebody else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment