Enumeration

NSFormattingUnitStyle

Specifies the width of the unit, determining the textual representation.

Declaration

typedef enum NSFormattingUnitStyle : NSInteger {
    ...
} NSFormattingUnitStyle;

Overview

The unit is represented in the shortest notation available. For example, for English, when formatting "3 pounds": NSFormattingUnitStyleLong is "3 pounds"; NSFormattingUnitStyleMedium is "3 lb"; NSFormattingUnitStyleShort is "3#".

Topics

Constants

NSFormattingUnitStyleShort

Specifies a short unit style.

NSFormattingUnitStyleMedium

Specifies a medium unit style.

NSFormattingUnitStyleLong

Specifies a long unit style.