isTemporaryID
A Boolean value that indicates whether the object ID is temporary.
Declaration
var isTemporaryID: Bool { get }Discussion
true if the receiver is temporary, otherwise false. Most object IDs return false. New objects inserted into a managed object context are assigned a temporary ID which is replaced with a permanent one once the object gets saved to a persistent store.