Contents

locale

The locale of the receiver.

Declaration

var locale: Locale! { get set }

Discussion

The locale determines the default values for many formatter attributes, such as ISO region and language codes, currency code, calendar, system of measurement, and decimal separator.

See Also

Managing Localization of Numbers