Version

public struct Version

The Version structure represents the framework version (semantic version).

Properties

  • major: Framework major version.
  • minor: Framework minor version.
  • patch: Framework patch version.
  • build: Framework build versions.
  • suffix: Version suffix.

Extensions

  • Initialize with a version string (ie “2.1.4”).

    Declaration

    Swift

    public init(string: String)

    Parameters

    value

    version string value.

  • Initialize with a integer version string (ie: “2010401”)

    Declaration

    Swift

    public init(integer value: String)

    Parameters

    build

    build string.

  • Return the version expressed as an integer.

    Declaration

    Swift

    public var integerValue: Int32 { get }