Contents

controller(_:didChangeContentWith:)

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

Declaration

optional func controller(_ controller: NSFetchedResultsController<any NSFetchRequestResult>, didChangeContentWith diff: CollectionDifference<NSManagedObjectID>)

Discussion

This method is only invoked if the controller’s sectionNameKeyPath property is nil and controller(_:didChangeContentWith:) is not implemented.

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

See Also

Responding to Changes