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
  • pKV

    Declaration

    Swift

    case pKV = 6
  • Creates a ModelVersion of the next case related to self

    Declaration

    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 }