Realtime Updates with the iOS SDK
To receive updates from the fetchController
, be sure to implement the NSFetchedResultsControllerDelegate
protocol methods:
(void)controllerDidChangeContent:(NSFetchedResultsController *)controller(void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObjectatIndexPath:(NSIndexPath *)indexPathforChangeType:(NSFetchedResultsChangeType)typenewIndexPath:(NSIndexPath *)newIndexPath