Instance Property

variantCode

The variant code for the locale.

Declaration

@property(readonly, copy) NSString *variantCode;

Discussion

Examples of variant code include "POSIX" and "PREEURO".

Use localizedStringForVariantCode: to obtain a version of the value suitable for display to the user.

This property contains the same value returned by the objectForKey: method when passing the NSLocaleVariantCode key.

See Also

Getting Information About a Locale

localeIdentifier

The identifier for the locale.

countryCode

The country code for the locale.

languageCode

The language code for the locale.

scriptCode

The script code for the locale.

exemplarCharacterSet

The exemplar character set for the locale.

collationIdentifier

The collation identifier for the locale.

collatorIdentifier

The collator identifier for the locale.

usesMetricSystem

A Boolean value that indicates whether the locale uses the metric system.

decimalSeparator

The decimal separator for the locale.

groupingSeparator

The grouping separator for the locale.

currencyCode

The currency code for the locale.

currencySymbol

The currency symbol for the locale.

calendarIdentifier

The calendar identifier for the locale.

quotationBeginDelimiter

The begin quotation symbol for the locale.

quotationEndDelimiter

The end quotation symbol for the locale.

alternateQuotationBeginDelimiter

The alternate begin quotation symbol for the locale.

alternateQuotationEndDelimiter

The alternate end quotation symbol for the locale.