The locale script code.
SDKs
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
const NSLocale Key NSLocaleScriptCode;
Discussion
The corresponding value is an NSString
object; for example, "Hant"
.
The locale script code.
SDKs
Framework
const NSLocale Key NSLocaleScriptCode;
The corresponding value is an NSString
object; for example, "Hant"
.
NSLocale Identifier
The locale identifier.
NSLocale Country Code
The locale country code.
NSLocale Language Code
The locale language code.
NSLocale Variant Code
The locale variant code.
NSLocale Exemplar Character Set
The exemplar character set for the locale.
NSLocale Calendar
The calendar associated with the locale.
NSLocale Collation Identifier
The collation associated with the locale.
NSLocale Collator Identifier
The collation identifier for the locale.
NSLocale Uses Metric System
A flag that indicates whether the locale uses the metric system.
NSLocale Measurement System
The measurement system associated with the locale.
NSLocale Decimal Separator
The decimal separator associated with the locale.
NSLocale Grouping Separator
The numeric grouping separator associated with the locale.
NSLocale Currency Symbol
The currency symbol associated with the locale.
NSLocale Currency Code
The currency code associated with the locale.
NSLocale Quotation End Delimiter Key
The end quotation symbol associated with the locale.
NSLocale Quotation Begin Delimiter Key
The begin quotation symbol associated with the locale.
NSLocale Alternate Quotation End Delimiter Key
The alternate end quotation symbol associated with the locale.
NSLocale Alternate Quotation Begin Delimiter Key
The alternating begin quotation symbol associated with the locale.