Contents

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 US for the United States. This parameter is case-insensitive.

See Also

Creating a region