Implement delegates for Core Data or not

Posted by Spanky on Stack Overflow See other posts from Stack Overflow or by Spanky
Published on 2010-05-31T23:07:03Z Indexed on 2010/05/31 23:13 UTC
Read the original article Hit count: 180

Filed under:
|
|
|

What advantage is there to implementing the four delegate methods:

  • (void)controllerWillChangeContent:(NSFetchedResultsController *)controller

  • (void)controller:(NSFetchedResultsController *)controller didChangeSection:(id )sectionInfo atIndex:(NSUInteger)sectionIndex forChangeType:(NSFetchedResultsChangeType)type

  • (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath *)newIndexPath

  • (void)controllerDidChangeContent:(NSFetchedResultsController *)controller

rather than implement:

  • (void)controllerDidChangeContent:(NSFetchedResultsController *)controller

Any help appreciated // :)

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about data