Contents

init(_:_:_:)

Initializes a version struct with the provided components of a semantic version.

Declaration

init(_ major: Int, _ minor: Int, _ patch: Int)

Parameters

  • major:

    The major version number.

  • minor:

    The minor version number.

  • patch:

    The patch version number.

Discussion