Structure

Platform

A platform that usually corresponds to an operating system such as iOS, macOS, or Linux.

Declaration

struct Platform

Topics

Platforms

static var iOS: Platform

The iOS platform.

static var linux: Platform

The Linux platform.

static var macOS: Platform

The macOS platform.

static var tvOS: Platform

The tvOS platform.

static var watchOS: Platform

The watchOS platform.

Instance Methods

Relationships

Conforms To

See Also

Declaring Supported Platforms

struct SupportedPlatform

A platform that the Swift package supports.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software