Enumeration

NumberFormatter.Behavior

These constants specify the behavior of a number formatter. These constants are returned by the defaultFormatterBehavior() class method and the formatterBehavior property.

Declaration

enum Behavior : UInt

Topics

Constants

case `default`

The number-formatter behavior set as the default for new instances. You can set the default formatter behavior with the class method setDefaultFormatterBehavior(_:).

case behavior10_0

The number-formatter behavior as it existed prior to macOS 10.4.

case behavior10_4

The number-formatter behavior since macOS 10.4.