Locale | iOS SDK | 2GIS Documentation
iOS SDK

Locale

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

Value of the new instance.

Properties

Textual representation of this instance.