Locale | iOS SDK | 2GIS Documentation

Locale

The locale identifier in the format [language designer]-[region designer]. Where language designer is the language code described in ISO 639-1, region designer is the country code described in ISO 3166-1.

public init(identifier: String)
Parameters
identifier
public init(stringLiteral value: String)

Creates an instance initialized to the given string value.

Parameters
value
String

The value of the new instance.

Properties

A textual representation of this instance.