Version

@available(swift 4.0)
public struct Version

TCX Version

  • Major

    Declaration

    Swift

    private(set) public var major: UInt16
  • Minor

    Declaration

    Swift

    private(set) public var minor: UInt16
  • Build Major

    Declaration

    Swift

    private(set) public var buildMajor: UInt16?
  • Build Minor

    Declaration

    Swift

    private(set) public var buildMinor: UInt16?
  • Undocumented

    Declaration

    Swift

    public init(major: UInt16,
                minor: UInt16,
                buildMajor: UInt16?,
                buildMinor: UInt16?)
  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    public static func == (lhs: Version, rhs: Version) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Coding Keys

    See more

    Declaration

    Swift

    public enum CodingKeys : String, CodingKey