Instance Property

operatingSystemVersion

The version of the operating system on which the process is executing.

Declaration

var operatingSystemVersion: OperatingSystemVersion { get }

See Also

Getting Host Information

var hostName: String

The name of the host computer on which the process is executing.

func operatingSystem() -> Int

Returns a constant to indicate the operating system on which the process is executing.

Deprecated
func operatingSystemName() -> String

Returns a string containing the name of the operating system on which the process is executing.

Deprecated
var operatingSystemVersionString: String

A string containing the version of the operating system on which the process is executing.

func isOperatingSystemAtLeast(OperatingSystemVersion) -> Bool

Returns a Boolean value indicating whether the version of the operating system on which the process is executing is the same or later than the given version.