Skip to content

ENUM

Platform

Contents

  • Cases
    • iOS
    • macOS
    • watchOS
    • tvOS
    • visionOS
swift
public enum Platform: String, Codable, Equatable, CaseIterable, Sendable

A supported platform representation.

Cases

iOS

swift
case iOS = "ios"

The iOS platform

macOS

swift
case macOS = "macos"

The macOS platform

watchOS

swift
case watchOS = "watchos"

The watchOS platform

tvOS

swift
case tvOS = "tvos"

The tvOS platform

visionOS

swift
case visionOS = "visionos"

The visionOS platform

Released under the MIT License.