STRUCT
LaunchArgument
Contents
- Properties
nameisEnabled
- Methods
launchArgument(name:isEnabled:)
swift
public struct LaunchArgument: Equatable, Codable, SendableA launch argument, passed when running a scheme.
Properties
name
swift
public var name: StringName of argument
isEnabled
swift
public var isEnabled: BoolIf enabled then argument is marked as active
Methods
launchArgument(name:isEnabled:)
swift
public static func launchArgument(name: String, isEnabled: Bool) -> SelfCreate new launch argument
- Parameters:
- name: Name of argument
- isEnabled: If enabled then argument is marked as active
Parameters
| Name | Description |
|---|---|
| name | Name of argument |
| isEnabled | If enabled then argument is marked as active |
