Package apple.coredata.protocol
Interface NSFetchedResultsControllerDelegate
-
public interface NSFetchedResultsControllerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcontrollerDidChangeContent(@NotNull NSFetchedResultsController<?> controller)default voidcontrollerDidChangeContentWithDifference(@NotNull NSFetchedResultsController<?> controller, @NotNull NSOrderedCollectionDifference<NSManagedObjectID> diff)Called when the contents of the fetched results controller change.default voidcontrollerDidChangeContentWithSnapshot(@NotNull NSFetchedResultsController<?> controller, @NotNull NSDiffableDataSourceSnapshot<java.lang.String,NSManagedObjectID> snapshot)Called when the contents of the fetched results controller change.default voidcontrollerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(@NotNull NSFetchedResultsController<?> controller, @NotNull java.lang.Object anObject, @Nullable NSIndexPath indexPath, long type, @Nullable NSIndexPath newIndexPath)default voidcontrollerDidChangeSectionAtIndexForChangeType(@NotNull NSFetchedResultsController<?> controller, @NotNull NSFetchedResultsSectionInfo sectionInfo, long sectionIndex, long type)default @Nullable java.lang.StringcontrollerSectionIndexTitleForSectionName(@NotNull NSFetchedResultsController<?> controller, @NotNull java.lang.String sectionName)API-Since: 4.0default voidcontrollerWillChangeContent(@NotNull NSFetchedResultsController<?> controller)
-
-
-
Method Detail
-
controllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath
default void controllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(@NotNull @NotNull NSFetchedResultsController<?> controller, @NotNull @NotNull java.lang.Object anObject, @Nullable @Nullable NSIndexPath indexPath, long type, @Nullable @Nullable NSIndexPath newIndexPath)
-
controllerDidChangeSectionAtIndexForChangeType
default void controllerDidChangeSectionAtIndexForChangeType(@NotNull @NotNull NSFetchedResultsController<?> controller, @NotNull @NotNull NSFetchedResultsSectionInfo sectionInfo, long sectionIndex, long type)
-
controllerSectionIndexTitleForSectionName
@Nullable default @Nullable java.lang.String controllerSectionIndexTitleForSectionName(@NotNull @NotNull NSFetchedResultsController<?> controller, @NotNull @NotNull java.lang.String sectionName)API-Since: 4.0
-
controllerDidChangeContent
default void controllerDidChangeContent(@NotNull @NotNull NSFetchedResultsController<?> controller)
-
controllerWillChangeContent
default void controllerWillChangeContent(@NotNull @NotNull NSFetchedResultsController<?> controller)
-
controllerDidChangeContentWithDifference
default void controllerDidChangeContentWithDifference(@NotNull @NotNull NSFetchedResultsController<?> controller, @NotNull @NotNull NSOrderedCollectionDifference<NSManagedObjectID> diff)Called when the contents of the fetched results controller change. If this method is implemented and the controller is configured with sectionNameKeyPath = nil, no other delegate methods will be invoked. This method is only invoked if the controller's `sectionNameKeyPath` property is nil and `controller:didChangeContentWithSnapshot:` is not implemented. API-Since: 13.0
-
controllerDidChangeContentWithSnapshot
default void controllerDidChangeContentWithSnapshot(@NotNull @NotNull NSFetchedResultsController<?> controller, @NotNull @NotNull NSDiffableDataSourceSnapshot<java.lang.String,NSManagedObjectID> snapshot)Called when the contents of the fetched results controller change. If this method is implemented, no other delegate methods will be invoked. API-Since: 13.0
-
-