Contents

locale

The locale to use when formatting items in the list.

Declaration

var locale: Locale

Discussion

A Locale instance is typically used to provide, format, and interpret information about and according to the user’s customs and preferences.

Examples include ISO region and language codes, currency code, calendar, system of measurement, and decimal separator.

The default value is autoupdatingCurrent. If you set this property to nil, the formatter resets to using autoupdatingCurrent.

See Also

Modifying a list format style