Enumerations
The following enumerations are available globally.
-
The severity of an update between versions.
See moreNote
A difference between build-meta-data of versions are asSemVerstates explicitly ignored.Declaration
Swift
public enum VersionCompareResult -
Enumerated build-meta-data for simple and
SemVerconform access.Note
Identifier can be described using alphanumeric letters or digits.
See moreAttention
Strings not conforming to
SemVerwill be handled asnil.Declaration
Swift
public enum BuildMetaData : Comparable, Sendableextension BuildMetaData: LosslessStringConvertibleextension BuildMetaData: ExpressibleByStringLiteral -
Enumerated pre-release identifier for
SemVer.Note
Identifier can be described using alphanumeric or numeric letters.
See moreAttention
If an identifier does not show conformance for beeing numeric or alphanumeric it is initialized as
nil.Declaration
Swift
public enum PrereleaseIdentifier : Comparable, Hashable, Sendableextension PrereleaseIdentifier: LosslessStringConvertibleextension PrereleaseIdentifier: ExpressibleByStringLiteralextension PrereleaseIdentifier: ExpressibleByIntegerLiteral
Enumerations Reference