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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software