Type Method

stringFromByteCount:countStyle:

Converts a byte count into the specified string format without creating an NSNumber object.

Declaration

+ (NSString *)stringFromByteCount:(long long)byteCount countStyle:(NSByteCountFormatterCountStyle)countStyle;

Parameters

byteCount

The byte count.

countStyle

The formatter style. See NSByteCountFormatterCountStyle for possible values.

Return Value

A string containing the formatted byteCount value.

See Also

Creating Strings from Byte Count

- stringFromByteCount:

Converts a byte count into a string without creating an NSNumber object.

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