Contents

persistentStoreDescriptions

The descriptions of the container’s persistent stores.

Declaration

var persistentStoreDescriptions: [NSPersistentStoreDescription] { get set }

Discussion

If you want to override the type (or types) of persistent store(s) used by the persistent container, you can set this property with an array of NSPersistentStoreDescription objects.

If you will be configuring custom persistent store descriptions, you must set this property before calling loadPersistentStores(completionHandler:).

See Also

Managing Persistent Stores