Enumerationswift 6.0.3Foundation
Style
enum Style
enum Style
import Foundation
class NumberFormatter
case currency
case currencyAccounting
case currencyISOCode
case currencyPlural
case decimal
case none
case ordinal
case percent
case scientific
case spellOut
override init()
required init?(coder: NSCoder)
class func localizedString(from num: NSNumber, number nstyle: NumberFormatter.Style) -> String
var allowsFloats: Bool { get set }
var alwaysShowsDecimalSeparator: Bool { get set }
var currencyCode: String! { get set }
var currencyDecimalSeparator: String! { get set }
var currencyGroupingSeparator: String! { get set }
var currencySymbol: String! { get set }
var decimalSeparator: String! { get set }
var exponentSymbol: String! { get set }
var format: String { get set }
var formatWidth: Int { get set }
var generatesDecimalNumbers: Bool { get set }
var groupingSeparator: String! { get set }
var groupingSize: Int { get set }
var hasThousandSeparators: Bool { get set }
var internationalCurrencySymbol: String! { get set }
var isLenient: Bool { get set }
var isPartialStringValidationEnabled: Bool { get set }
var locale: Locale! { get set }
var localizesFormat: Bool { get set }
var maximum: NSNumber? { get set }
var maximumFractionDigits: Int { get set }
var maximumIntegerDigits: Int { get set }
var maximumSignificantDigits: Int { get set }
var minimum: NSNumber? { get set }
var minimumFractionDigits: Int { get set }
var minimumIntegerDigits: Int { get set }
var minimumSignificantDigits: Int { get set }
var minusSign: String! { get set }
var multiplier: NSNumber? { get set }
var negativeFormat: String! { get set }
var negativeInfinitySymbol: String { get set }
var negativePrefix: String! { get set }
var negativeSuffix: String! { get set }
var nilSymbol: String { get set }
var notANumberSymbol: String! { get set }
var numberStyle: NumberFormatter.Style { get set }
var paddingCharacter: String! { get set }
var paddingPosition: NumberFormatter.PadPosition { get set }
var perMillSymbol: String! { get set }
var percentSymbol: String! { get set }
var plusSign: String! { get set }
var positiveFormat: String! { get set }
var positiveInfinitySymbol: String { get set }
var positivePrefix: String! { get set }
var positiveSuffix: String! { get set }
var roundingBehavior: NSDecimalNumberHandler { get set }
var roundingIncrement: NSNumber! { get set }
var roundingMode: NumberFormatter.RoundingMode { get set }
var secondaryGroupingSize: Int { get set }
var textAttributesForNegativeInfinity: [String : (any Sendable)]? { get set }
var textAttributesForNegativeValues: [String : (any Sendable)]? { get set }
var textAttributesForNil: [String : (any Sendable)]? { get set }
var textAttributesForNotANumber: [String : (any Sendable)]? { get set }
var textAttributesForPositiveInfinity: [String : (any Sendable)]? { get set }
var textAttributesForPositiveValues: [String : (any Sendable)]? { get set }
var textAttributesForZero: [String : (any Sendable)]? { get set }
var thousandSeparator: String! { get set }
var usesGroupingSeparator: Bool { get set }
var usesSignificantDigits: Bool { get set }
var zeroSymbol: String? { get set }
override func copy(with zone: NSZone? = nil) -> Any
func number(from string: String) -> NSNumber?
override func string(for obj: Any) -> String?
func string(from number: NSNumber) -> String?
enum PadPosition
enum RoundingMode
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: UInt)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)