Created
May 10, 2020 03:44
-
-
Save laevandus/f65f19fe577feeac44e1ec47d15df4f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Diffable data source (new in iOS 13) | |
optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChangeContentWith snapshot: NSDiffableDataSourceSnapshot) | |
optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChangeContentWith diff: CollectionDifference<NSManagedObjectID>) | |
// Manually updating table view and collection view | |
optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?) | |
optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange sectionInfo: NSFetchedResultsSectionInfo, atSectionIndex sectionIndex: Int, for type: NSFetchedResultsChangeType) | |
optional func controllerWillChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) | |
optional func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment