Skip to content

STRUCT

LaunchArgument ​

Contents

swift
public struct LaunchArgument: Equatable, Codable

A launch argument, passed when running a scheme.

Properties ​

name ​

swift
public var name: String

Name of argument

isEnabled ​

swift
public var isEnabled: Bool

If enabled then argument is marked as active

Methods ​

init(name:isEnabled:) ​

swift
public init(name: String, isEnabled: Bool)

Create new launch argument

  • Parameters:
    • name: Name of argument
    • isEnabled: If enabled then argument is marked as active

Parameters ​

NameDescription
nameName of argument
isEnabledIf enabled then argument is marked as active