STRUCT
BuildConfiguration
Contents
- Properties
debugreleasenamevariant
- Methods
init(name:variant:)release(_:)debug(_:)
swift
public struct BuildConfiguration: CodableA build configuration acts as a configuration identifier.
It hosts the name as well as the variant of a configuration to help infer the appropriate default settings.
Properties
debug
swift
public static let debug = BuildConfiguration(name: "Debug", variant: .debug)release
swift
public static let release = BuildConfiguration(name: "Release", variant: .release)name
swift
public let name: Stringvariant
swift
public let variant: VariantMethods
init(name:variant:)
swift
public init(name: String, variant: Variant)release(_:)
swift
public static func release(_ name: String) -> BuildConfigurationdebug(_:)
swift
public static func debug(_ name: String) -> BuildConfiguration