Instance Property

formattingContext

Specify the formatting context for the formatted string.

Declaration

@property NSFormattingContext formattingContext;

Discussion

The default value is NSFormattingContextUnknown. See NSFormatter for possible values.

See Also

Setting Formatting Styles

countStyle

Specify the number of bytes to be used for kilobytes.

allowsNonnumericFormatting

Determines whether to allow more natural display of some values.

includesActualByteCount

Determines whether to include the number of bytes after the formatted string.

adaptive

Determines the display style of the size representation.

allowedUnits

Specify the units that can be used in the output.

includesCount

Determines whether to include the count in the resulting formatted string.

includesUnit

Determines whether to include the units in the resulting formatted string.

zeroPadsFractionDigits

Determines whether to zero pad fraction digits so a consistent number of characters is displayed in a representation.

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