Contents

versionIdentifiers

The set of developer-defined version identifiers for the object model.

Declaration

var versionIdentifiers: Set<AnyHashable> { get set }

Discussion

Merged models return the combined collection of identifiers. The Core Data framework does not assign a default identifier to object models, nor does it depend on this value at runtime. For models you create in Xcode, set this value in the model inspector.

Use this value when debugging to help determine the models that Core Data merges to create the merged model.

See Also

Versioning and migrating entities