KBAFetchedResultsObserverChange

@protocol KBAFetchedResultsObserverChange <NSObject>

Protocol describing a change object.

  • The managed object that was changed.

    Declaration

    Objective-C

    @required
    @property (nonatomic, readonly) __kindof NSManagedObject *_Nonnull changeObject;
  • The type of change.

    Declaration

    Objective-C

    @required
    @property (nonatomic, readonly) NSFetchedResultsChangeType changeType;
  • The index path of the changed object. Will be nil for deletes.

    Declaration

    Objective-C

    @required
    @property (nonatomic, readonly, nullable) NSIndexPath *changeIndexPath;
  • The new index path for the changed object. Will be non-nil only for moves.

    Declaration

    Objective-C

    @required
    @property (nonatomic, readonly, nullable) NSIndexPath *changeNewIndexPath;