Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

EXTENSION

Version

swift
extension Version: Comparable

Properties

description

swift
public var description: String

Methods

<(_:_:)

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

Parameters

NameDescription
lhsA value to compare.
rhsAnother value to compare.

init(string:)

swift
public init?(string: String)

Create a version object from string.

  • Parameters:
    • string: The string to parse.

Parameters

NameDescription
stringThe string to parse.

init(stringLiteral:)

swift
public init(stringLiteral value: String)

Parameters

NameDescription
valueThe value of the new instance.

Released under the MIT License.