Is there a NSValueTransformer for file sizes?

78 Views Asked by At

I can't believe something like this doesn't exist already. Is there some code out there that implements NSValueTransformer for file sizes? I'd like a column in my table view to display file size in the closest SI binary multiple, for example "1.4MB" instead of "1,468,006".

The closest thing I can find is this SO question but the answers aren't really what I'm after.

0

There are 0 best solutions below