Reading List

NSManagedObjectID and PersistentIdentifier from Michael Tsai RSS feed.

NSManagedObjectID and PersistentIdentifier

Fatbobman: However, in SwiftData, there is currently no similar property or method to directly determine the [temporary] state of a PersistentIdentifier. Since SwiftData’s mainContext defaults to the autoSave feature (developers do not need to explicitly save data), identifiers may temporarily be unusable in other contexts after creating data objects. […] SwiftData’s default implementation is still […]