Platform
A platform supported by Swift Package Manager.
struct Platform
Platforms
static let iOS: Platform
The iOS platform.
static let macOS: Platform
The macOS platform.
static let tvOS: Platform
The tvOS platform.
static let watchOS: Platform
The watchOS platform.
static let macCatalyst: Platform
The Mac Catalyst platform.
static let driverKit: Platform
The DriverKit platform
static let android: Platform
The Android platform.
static let linux: Platform
The Linux platform.
static let openbsd: Platform
The OpenBSD platform.
static let wasi: Platform
The WebAssembly System Interface platform.
static let windows: Platform
The Windows platform.
Type methods
static func custom(String
) -> Platform Creates a custom platform.
Operator Functions
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.