Instance Method

referenceObjectForObjectID:

Returns the reference object for a given managed object ID.

Declaration

- (id)referenceObjectForObjectID:(NSManagedObjectID *)objectID;

Parameters

objectID

A managed object ID.

Return Value

The reference object for objectID.

Discussion

Subclasses should invoke this method to extract the reference data from the object ID for each cache node if the data is to be made persistent.

See Also

Utility Methods

- cacheNodes

Returns the set of cache nodes registered with the receiver.

- cacheNodeForObjectID:

Returns the cache node for a given managed object ID.