Contents

persistentStoreType(forFileType:)

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

Declaration

func persistentStoreType(forFileType fileType: String) -> String

Parameters

  • fileType:

    The document file type.

Return Value

The persistent store type for fileType.

Discussion

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