Instance Property

isReadOnly

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

Declaration

var isReadOnly: Bool { get set }

Discussion

true if the receiver is read-only, otherwise false.

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

The unique identifier for the persistent store.

Persistent Store Types

Persist data through the available store types.