Instance Property

managedObjectModel

The model associated with this persistent container. (read-only)

Declaration

var managedObjectModel: NSManagedObjectModel { get }

Discussion

This property contains a reference to the NSManagedObjectModel object associated with this persistent container.

See Also

Configuring a Container

var persistentStoreDescriptions: [NSPersistentStoreDescription]

The persistent store descriptions used to create the persistent stores referenced by this persistent container.

func loadPersistentStores(completionHandler: (NSPersistentStoreDescription, Error?) -> Void)

Instructs the persistent container to load the persistent stores.

var name: String

The name of this persistent container. (read-only)

var persistentStoreCoordinator: NSPersistentStoreCoordinator

The persistent store coordinator associated with this persistent container. (read-only)