Enumeration

NSByteCountFormatterUnits

Specifies the units appropriate for the formatter to display. Specifying any units explicitly causes just those units to be used in showing the number.

Declaration

typedef enum NSByteCountFormatterUnits : NSUInteger {
    ...
} NSByteCountFormatterUnits;

Topics

Constants

NSByteCountFormatterUseDefault

This causes default units appropriate for the platform to be used. This is the default.

NSByteCountFormatterUseBytes

Displays bytes in the formatter content.

NSByteCountFormatterUseKB

Displays kilobytes in the formatter content.

NSByteCountFormatterUseMB

Displays megabytes in the formatter content.

NSByteCountFormatterUseGB

Displays gigabytes in the formatter content.

NSByteCountFormatterUseTB

Displays terabytes in the formatter content.

NSByteCountFormatterUsePB

Displays petabyte in the formatter content.

NSByteCountFormatterUseEB

Displays exabytes in the formatter content.

NSByteCountFormatterUseZB

Displays zettabytes in the formatter content.

NSByteCountFormatterUseYBOrHigher

Displays yottabytes in the formatter content.

NSByteCountFormatterUseAll

Can use any unit in the formatter content.