Type Property


The list of locale identifiers available on the system.


class var availableLocaleIdentifiers: [String] { get }


A locale identifier starts with a language code, often includes a region code, and occasionally includes a script designator. See Locale IDs for more information about the structure of a locale identifier.

Use localizedString(forLocaleIdentifier:) to obtain a human readable description of any of the locale identifiers in this list.

See Also

Getting Known Identifiers and Codes

class var isoCountryCodes: [String]

The list of known country codes.

class var isoLanguageCodes: [String]

The list of known language codes.

class var isoCurrencyCodes: [String]

The list of known currency codes.

class var commonISOCurrencyCodes: [String]

A list of commonly encountered currency codes.