Enumerations

The following enumerations are available globally.

  • The severity of an update between versions.

    Note

    A difference between build-meta-data of versions are as SemVer states explicitly ignored.
    See more

    Declaration

    Swift

    public enum VersionCompareResult
  • Enumerated build-meta-data for simple and SemVer conform access.

    Note

    Identifier can be described using alphanumeric letters or digits.

    Attention

    Strings not conforming to SemVer will be handled as nil.

    See more

    Declaration

    Swift

    public enum BuildMetaData : Comparable, Sendable
    extension BuildMetaData: LosslessStringConvertible
    extension BuildMetaData: ExpressibleByStringLiteral
  • Enumerated pre-release identifier for SemVer.

    Note

    Identifier can be described using alphanumeric or numeric letters.

    Attention

    If an identifier does not show conformance for beeing numeric or alphanumeric it is initialized as nil.

    See more

    Declaration

    Swift

    public enum PrereleaseIdentifier : Comparable, Hashable, Sendable
    extension PrereleaseIdentifier: LosslessStringConvertible
    extension PrereleaseIdentifier: ExpressibleByStringLiteral
    extension PrereleaseIdentifier: ExpressibleByIntegerLiteral