Created
July 5, 2018 05:56
-
-
Save cozzin/38f96ef35a26c1a011f4f1a65c3443b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func formatByteCount(bytes: Int64) -> String { | |
let byteCountFormatter = ByteCountFormatter() | |
return byteCountFormatter.string(fromByteCount: bytes) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment