SemVersion
public struct SemVersion
extension SemVersion: Equatable
extension SemVersion: Comparable
A class to represent a version
-
max value
Declaration
Swift
public private(set) var max: Int { get }
-
min value
Declaration
Swift
public private(set) var min: Int { get }
-
patch value.
Declaration
Swift
public private(set) var patch: Int { get }
-
18R5 version
Declaration
Swift
public static let V18R5: SemVersion
-
Create an instance from numbers
Declaration
Swift
public init(max: Int, min: Int, patch: Int)
-
Create an instance from string.
Declaration
Swift
public init(_ string: String)