Indicates that objects identified by a given array of object IDs are no longer being used by a managed object context.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Data
An array of object IDs.
This method is the counterpart to
Passing an object ID in the object IDs array of
managed is akin to incrementing the object ID’s reference count by 1; passing an object ID in the object IDs array of
managed is akin to decrementing the object ID’s reference count by 1. It is only when an object ID’s reference count is 0 that no contexts indicate that they are using the corresponding managed object. (Object IDs start with a reference count of 0.)
For example, if the register methods is invoked on two occasions when the object IDs array contains a given object ID, and the unregister method is invoked once when the object IDs array contains that object ID, then a context is still using the object with the given ID.