Instance Property

type

The type string of the persistent store.

Declaration

var type: String { get }

Discussion

This string is used when specifying the type of store to add to a persistent store coordinator.

Special Considerations

Subclasses must override this method to provide a unique type.

See Also

Working with State Information

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.

Persistent Store Types

Persist data through the available store types.