Versioning Support

Metadata keys you access when comparing store versions.

Topics

Constants

let NSStoreModelVersionHashesKey: String

Key to represent the version hash information for the model used to create the store.

let NSStoreModelVersionIdentifiersKey: String

Key to represent the version identifiers for the model used to create the store.

let NSPersistentStoreOSCompatibility: String

Key to represent the earliest version of the operation system that the persistent store supports.

See Also

Migrating and Versioning Stores

Migration Options

Specify migration options in the dictionary of options when you add a persistent store using addPersistentStore(ofType:configurationName:at:options:).