Skip to content

Instantly share code, notes, and snippets.

@es-kumagai
Created November 15, 2022 13:43
Show Gist options
  • Save es-kumagai/159bcb68c4515478306be630fede7f92 to your computer and use it in GitHub Desktop.
Save es-kumagai/159bcb68c4515478306be630fede7f92 to your computer and use it in GitHub Desktop.
ゆめみさんの社内勉強会「やさしい Swift 勉強会 #140」(じきに公開される予定)を振り返ってみていて思うけれども、こういう奇特な 36 進数変換みたいな機能を標準ライブラリーに組み込む人ってどんな気持ちなのでしょうね。 #yumemi_grow #CodePiece
let possibleNumber = "helloworld"
let convertedNumber = Int(possibleNumber, radix: 36)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment