Type Property

availableLocaleIdentifiers

The list of locale identifiers available on the system.

Declaration

class var availableLocaleIdentifiers: [String] { get }

Discussion

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software