Instance Method


Returns the Core Data store type for a given document file type.


func persistentStoreType(forFileType fileType: String) -> String



The document file type.

Return Value

The persistent store type for fileType.


Override this method to specify a persistent store type for a given document type.

The default returns NSSQLiteStoreType.

See Also

Managing the Core Data Stack

var managedObjectContext: NSManagedObjectContext

The document’s managed object context.

var managedObjectModel: NSManagedObjectModel

The document’s managed object model.

var persistentStoreOptions: [AnyHashable : Any]?

Options used when creating the document’s persistent store.

var modelConfiguration: String?

A model configuration name to be passed when configuring the persistent store.