Persistent Store Types

Persist data through the available store types.

Topics

Constants

let NSSQLiteStoreType: String

The SQLite database store type.

let NSXMLStoreType: String

The XML store type.

let NSBinaryStoreType: String

The binary store type.

let NSInMemoryStoreType: String

The in-memory store type.

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.

var isReadOnly: Bool

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