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.