Contents

operatingSystemName()

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

Declaration

func operatingSystemName() -> String

Return Value

Operating system name. In macOS, it’s @"NSMACHOperatingSystem"

See Also

Getting Host Information