PluginOS

public struct PluginOS : Codable

Supported operating systems of a plugin.

See the OS section for more information

  • The name of the platform, mac or windows.

    Declaration

    Swift

    public let platform: PluginPlatform
  • The minimum version of the operating system that the plugin requires.

    Declaration

    Swift

    public let minimumVersion: String
  • Initialize a new OS.

    Declaration

    Swift

    public init(_ platform: PluginPlatform, minimumVersion: String)
  • Initialize a mac OS with the specified minimum version

    Declaration

    Swift

    public static func mac(minimumVersion: String) -> PluginOS
  • Initialize a windows OS with the specified minimum version

    Declaration

    Swift

    public static func win(minimumVersion: String) -> PluginOS