Contents

string(from:countStyle:)

Formats the value of the given measurement using the given countStyle.

Declaration

class func string(from measurement: Measurement<UnitInformationStorage>, countStyle: ByteCountFormatter.CountStyle) -> String

Discussion

Throws an exception if the given measurement’s unit does not belong to the NSUnitInformationStorage dimension.