Type Property

currencySymbol

The currency symbol associated with the locale.

Declaration

static let currencySymbol: NSLocale.Key

Discussion

The corresponding value is an NSString object; for example, "$".

See Also

Keys

static let countryCode: NSLocale.Key

The locale country code.

static let languageCode: NSLocale.Key

The locale language code.

static let variantCode: NSLocale.Key

The locale variant code.

static let exemplarCharacterSet: NSLocale.Key

The exemplar character set for the locale.

static let calendar: NSLocale.Key

The calendar associated with the locale.

static let collationIdentifier: NSLocale.Key

The collation associated with the locale.

static let collatorIdentifier: NSLocale.Key

The collation identifier for the locale.

static let usesMetricSystem: NSLocale.Key

A flag that indicates whether the locale uses the metric system.

static let measurementSystem: NSLocale.Key

The measurement system associated with the locale.

static let decimalSeparator: NSLocale.Key

The decimal separator associated with the locale.

static let groupingSeparator: NSLocale.Key

The numeric grouping separator associated with the locale.

static let currencyCode: NSLocale.Key

The currency code associated with the locale.

static let quotationEndDelimiterKey: NSLocale.Key

The end quotation symbol associated with the locale.

static let quotationBeginDelimiterKey: NSLocale.Key

The begin quotation symbol associated with the locale.

static let alternateQuotationEndDelimiterKey: NSLocale.Key

The alternate end quotation symbol associated with the locale.

static let alternateQuotationBeginDelimiterKey: NSLocale.Key

The alternating begin quotation symbol associated with the locale.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software