Instance Method

persistentStoreTypeForFileType:

Returns the type of persistent store associated with the specified file type.

Declaration

- (NSString *)persistentStoreTypeForFileType:(NSString *)fileType;

Parameters

fileType

A document file type.

Return Value

The type of persistent store associated with fileType. For possible values, see NSPersistentStoreCoordinator.

Discussion

You set the persistent store type in the application's property list.

See Also

Managing the Persistence Objects

managedObjectContext

The managed object context for the document.

managedObjectModel

The managed object model of the document.

- configurePersistentStoreCoordinatorForURL:ofType:modelConfiguration:storeOptions:error:

Configures the receiver’s persistent store coordinator with the appropriate stores for a given URL.