Version

public struct Version : VersionComparable

A type describing the SwiftLint version.

  • The string value for this version.

    Declaration

    Swift

    public let value: String
  • An alias for value required for protocol conformance.

    Declaration

    Swift

    public var rawValue: String { get }
  • The current SwiftLint version.

    Declaration

    Swift

    public static let current: Version
  • Public initializer.

    Declaration

    Swift

    public init(value: String)

    Parameters

    value

    The string value for this version.