Instance Property

identifier

The unique identifier for the persistent store.

Declaration

var identifier: String! { get set }

Discussion

The identifier is used as part of the managed object IDs for each object in the store.

Special Considerations

NSPersistentStore provides a default implementation to provide a globally unique identifier for the store instance.

See Also

Working with State Information

var type: String

The type string of the persistent store.

var persistentStoreCoordinator: NSPersistentStoreCoordinator?

The persistent store coordinator that loaded the persistent store.

var configurationName: String

The name of the managed object model configuration used to create the persistent store.

var options: [AnyHashable : Any]?

The options the store was initialized with.

var url: URL?

The URL for the persistent store.

var isReadOnly: Bool

A Boolean value that indicates whether the persistent store is read-only.

Persistent Store Types

Persist data through the available store types.