description
TypeScriptget description(): stringSwift declarationvar description: String { get }A textual description of the version object.
struct · iOS 17.0+ · SDK 27.1
struct Versionget description(): stringSwift declarationvar description: String { get }A textual description of the version object.
get major(): numberSwift declarationlet major: IntThe major version according to the semantic versioning standard.
get minor(): numberSwift declarationlet minor: IntThe minor version according to the semantic versioning standard.
get patch(): numberSwift declarationlet patch: IntThe patch version according to the semantic versioning standard.
static init(major: number, minor: number, patch: number): Schema_VersionSwift declarationinit(_ major: Int, _ minor: Int, _ patch: Int)Initializes a version struct with the provided components of a semantic version. - Parameters: - major: The major version number. - minor: The minor version number. - patch: The patch version number. - Precondition: `major >= 0 && minor >= 0 && patch >= 0`.
No declarations were skipped in this snapshot.