init(stringLiteral:)
Creates a variant from a BCP 47 identifier as a string literal.
Declaration
init(stringLiteral value: String)Parameters
- value:
The variant’s BCP 47 identifier.
Creates a variant from a BCP 47 identifier as a string literal.
init(stringLiteral value: String)The variant’s BCP 47 identifier.