OperatingSystemVersion
extension OperatingSystemVersion: ExpressibleByIntegerLiteral
Extension to make it easier to work with OperatingSystemVersion
.
This makes it so you can initialize one with an Int e.g.
let v: OperatingSystemVersion = 11
-
Declaration
Swift
public typealias IntegerLiteralType = UInt
-
Declaration
Swift
public init(integerLiteral value: IntegerLiteralType)
-
Declaration
Swift
public static func == (lhs: OperatingSystemVersion, rhs: OperatingSystemVersion) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-