STRUCT
CommonSettings
Contents
- Properties
settingstargetRegexpexceptRegexpconfigurations
- Methods
init(settings:configurations:targetRegexp:exceptRegexp:)init(dictionaryLiteral:)
swift
public struct CommonSettings: Codable, Equatable, ExpressibleByDictionaryLiteralCommon settings that can be shared across all or some modules.
Properties
settings
swift
public let settings: [String: SettingValue]Settings in format "Setting name": "Settings Value"
targetRegexp
swift
public let targetRegexp: String?Regular expression which describes which targets settings need to be applied to.
exceptRegexp
swift
public let exceptRegexp: String?configurations
swift
public let configurations: [String]Methods
init(settings:configurations:targetRegexp:exceptRegexp:)
swift
public init(
settings: [String: SettingValue],
configurations: [String] = [],
targetRegexp: String? = nil,
exceptRegexp: String? = nil
)init(dictionaryLiteral:)
swift
public init(dictionaryLiteral elements: (String, SettingValue)...)