Instance Property

persistentStore

The persistent store that fetched the object for the object ID.

Declaration

weak var persistentStore: NSPersistentStore? { get }

Discussion

nil if the ID is for a newly-inserted object that has not yet been saved to a persistent store.

See Also

Getting Managed Object ID Information

var entity: NSEntityDescription

The entity description associated with the object ID.

var isTemporaryID: Bool

A Boolean value that indicates whether the object ID is temporary.

func uriRepresentation() -> URL

Returns a URI that provides an archiveable reference to the object for the object ID.