locale
The locale to use when formatting items in the list.
Declaration
var locale: LocaleDiscussion
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.