Instance Method

managedObjectContextDidRegisterObjectsWithIDs:

Indicates that objects identified by a given array of object IDs are in use in a managed object context.

Declaration

- (void)managedObjectContextDidRegisterObjectsWithIDs:(NSArray<NSManagedObjectID *> *)objectIDs;

Parameters

objectIDs

An array of object IDs.

Discussion

This method and managedObjectContextDidUnregisterObjectsWithIDs: allow managed object contexts to communicate interest in the row data of specific objects in a manner akin to reference counting. For more details, see managedObjectContextDidUnregisterObjectsWithIDs:.

See Also

Responding to Context Changes

- managedObjectContextDidUnregisterObjectsWithIDs:

Indicates that objects identified by a given array of object IDs are no longer being used by a managed object context.