availableNumberingSystems
TypeScriptstatic get availableNumberingSystems(): Array<Locale_NumberingSystem>Swift declarationstatic var availableNumberingSystems: [Locale.NumberingSystem] { get }A list of available numbering systems on the system.
struct · iOS 16.0+ · SDK 27.1
struct NumberingSystemA type that represents the numbering system used in a locale.
static get availableNumberingSystems(): Array<Locale_NumberingSystem>Swift declarationstatic var availableNumberingSystems: [Locale.NumberingSystem] { get }A list of available numbering systems on the system.
get identifier(): stringSwift declarationvar identifier: String { get set }The numbering system's identifier.
set identifier(value: string)Swift declarationvar identifier: String { get set }The numbering system's identifier.
static initStringLiteral(value: string): Locale_NumberingSystemSwift declarationinit(stringLiteral value: String)Creates a numbering system instance from a BCP 47 identifier as a string literal.
get debugDescription(): stringSwift declarationvar debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
static init(identifier: string): Locale_NumberingSystemSwift declarationinit(_ identifier: String)Creates a numbering system from a BCP 47 identifier. The complete list of valid numbering systems can be found [here](https://github.com/unicode-org/cldr/blob/latest/common/bcp47/number.xml), under the key with the name "nu".
No declarations were skipped in this snapshot.