Last active
July 29, 2023 13:07
-
-
Save foxicode/4a67ce93c2cdb5a16eafdda60dd3822d to your computer and use it in GitHub Desktop.
Int asString/toString Swift extension
This file contains hidden or 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
| public extension Int { | |
| var asString: String { | |
| "\(self)" | |
| } | |
| func toString() -> String { | |
| "\(self)" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment