ModelVersion
public enum ModelVersion : Int, Codable, CaseIterable
All available core data modal versions that require a manual migration step in MigrationManager
Add a new case every time you want to start a manual migration to a new xcdatamodel
The rawValue represents the xcdatamodelversion
-
Declaration
Swift
case taskStatus = 3 -
Declaration
Swift
case profiles = 4 -
Declaration
Swift
case auditEventsInProfile = 5 -
Declaration
Swift
case pKV = 6 -
Declaration
Swift
case onboardingDate = 7 -
Declaration
Swift
case displayName = 8 -
Declaration
Swift
case shouldAutoUpdateNameAtNextLogin = 9 -
Creates a
ModelVersionof the next case related to selfDeclaration
Swift
public func next() -> ModelVersion?Return Value
Returns the next case if it is not the last case or returns nil
-
Declaration
Swift
public var isLastVersion: Bool { get } -
Declaration
Swift
public static var latestVersion: ModelVersion { get }
View on GitHub
ModelVersion Enumeration Reference