IntdashVersion

public struct IntdashVersion : Equatable

バージョンを格納する構造体。

  • 文字列で表現されたバージョン値。

    Declaration

    Swift

    public var value: String
  • バージョンのメジャー値。

    Declaration

    Swift

    public var major: Int?
  • バージョンのマイナー値。

    Declaration

    Swift

    public var minor: Int?
  • バージョンのパッチ値。

    Declaration

    Swift

    public var patch: Int?
  • バージョンのプレリリース値。

    Declaration

    Swift

    public var preRelease: String?
  • バージョンのビルドナンバー。

    Declaration

    Swift

    public var build: String?
  • IntdashVersionを生成します。

    Declaration

    Swift

    public init(string: String)

    Parameters

    version

    文字列で表現されたバージョン値

  • Declaration

    Swift

    public static func == (lhs: IntdashVersion, rhs: IntdashVersion) -> Bool
  • Declaration

    Swift

    public static func != (lhs: IntdashVersion, rhs: IntdashVersion) -> Bool
  • Declaration

    Swift

    public static func < (lhs: IntdashVersion, rhs: IntdashVersion) -> Bool
  • Declaration

    Swift

    public static func > (lhs: IntdashVersion, rhs: IntdashVersion) -> Bool
  • Declaration

    Swift

    public static func <= (lhs: IntdashVersion, rhs: IntdashVersion) -> Bool
  • Declaration

    Swift

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