PluginOS
public struct PluginOS : Codable
Supported operating systems of a plugin.
See the OS section for more information
-
The name of the platform,
macorwindows.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
macOS with the specified minimum versionDeclaration
Swift
public static func mac(minimumVersion: String) -> PluginOS -
Initialize a
windowsOS with the specified minimum versionDeclaration
Swift
public static func win(minimumVersion: String) -> PluginOS
View on GitHub
PluginOS Structure Reference