Instance Property


The URL for the persistent store.


var url: URL? { get set }


To alter the location of a store, send the persistent store coordinator a setURL(_:for:) message.

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 identifier: String!

The unique identifier 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.