Instance Method

controller:didChangeContentWithDifference:

Notifies the receiver about changes to the content in the fetched results controller, by using a collection difference.

Declaration

- (void)controller:(NSFetchedResultsController *)controller didChangeContentWithDifference:(NSOrderedCollectionDifference<NSManagedObjectID *> *)diff;

Discussion

This method is only invoked if the controller’s sectionNameKeyPath property is nil and controller:didChangeContentWithSnapshot: is not implemented.

If this method is implemented, no other delegate methods are invoked.

See Also

Responding to Changes

- controller:didChangeContentWithSnapshot:

Notifies the receiver about changes to the content in the fetched results controller, by using a diffable data source snapshot.

- controllerWillChangeContent:

Notifies the receiver that the fetched results controller is about to start processing of one or more changes due to an add, remove, move, or update.

- controller:didChangeObject:atIndexPath:forChangeType:newIndexPath:

Notifies the receiver that a fetched object has been changed due to an add, remove, move, or update.

- controller:didChangeSection:atIndex:forChangeType:

Notifies the receiver of the addition or removal of a section.

- controllerDidChangeContent:

Notifies the receiver that the fetched results controller has completed processing of one or more changes due to an add, remove, move, or update.