Русский (Russian)
Appearance
ENUM
SettingValue
Contents
public enum SettingValue: ExpressibleByStringInterpolation, ExpressibleByArrayLiteral, ExpressibleByBooleanLiteral, Equatable,
Codable, Sendable
A value or a collection of values used for settings configuration.
string(_:)
case string(String)
array(_:)
case array([String])
init(stringLiteral:)
public init(stringLiteral value: String)
Name | Description |
---|---|
value | The value of the new instance. |
init(arrayLiteral:)
public init(arrayLiteral elements: String...)
init(booleanLiteral:)
public init(booleanLiteral value: Bool)
Name | Description |
---|---|
value | The value of the new instance. |
init(_:)
public init<T>(_ stringRawRepresentable: T) where T: RawRepresentable, T.RawValue == String