StructureFoundationEssentials
Locale.NumberingSystem
iOS 16.0+
iPadOS 16.0+
Mac Catalyst 16.0+
macOS 13.0+
tvOS 16.0+
watchOS 9.0+
A type that represents the numbering system used in a locale.
struct NumberingSystem
Topics
Operators
Initializers
init(String)Creates a numbering system from a BCP 47 identifier.init(from: any Decoder) throwsinit(stringLiteral: String)Creates a numbering system instance from a BCP 47 identifier as a string literal.
Instance Properties
var debugDescription: Stringvar identifier: StringThe numbering system’s identifier.
Instance Methods
Type Properties
static var availableNumberingSystems: [Locale.NumberingSystem]A list of available numbering systems on the system.
Relationships
Conforms To
Swift.CopyableSwift.CustomDebugStringConvertibleSwift.DecodableSwift.EncodableSwift.EquatableSwift.EscapableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.SendableSwift.SendableMetatype