Contents

currencyCode

The currency code for the locale.

Declaration

var currencyCode: String? { get }

Discussion

Example currency codes include "USD", "EUR", and "JPY".

Use localizedString(forCurrencyCode:) to obtain a version of the value suitable for display to the user.

This property contains the same value returned by the object(forKey:) method when passing the currencyCode key.

See Also

Related Documentation

Getting Information About a Locale