controller(_:didChangeContentWith:)
Notifies the receiver about changes to the content in the fetched results controller, by using a diffable data source snapshot.
Declaration
optional func controller(_ controller: NSFetchedResultsController<any NSFetchRequestResult>, didChangeContentWith snapshot: NSDiffableDataSourceSnapshot)Discussion
To apply the changes, call applySnapshot(_:animatingDifferences:) on the collection or table view’s data source.
If this method is implemented, no other delegate methods are invoked.