init(stringLiteral:)
Creates a region from a BCP 47 identifier as a string literal.
Declaration
init(stringLiteral value: String)Parameters
- value:
A BCP 47 identifier, such as
USfor the United States. This parameter is case-insensitive.
Creates a region from a BCP 47 identifier as a string literal.
init(stringLiteral value: String)A BCP 47 identifier, such as US for the United States. This parameter is case-insensitive.