Contents

currency

The currency used by the locale.

Declaration

var currency: Locale.Currency?

Discussion

Set this property to override the locale’s default currency. To request the default currency used by the locale, use the Locale property currency.

This property corresponds to the cu key of the Unicode BCP 47 extension.

See Also

Specifiying measurement and counting components