Contents

persistentStoreType(forFileType:)

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

Declaration

func persistentStoreType(forFileType fileType: String) -> String

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