Skip to content

Instantly share code, notes, and snippets.

@akuraru
Created October 14, 2018 14:43
Show Gist options
  • Save akuraru/45f157c00a10d0c676e88d6de74e1a6b to your computer and use it in GitHub Desktop.
Save akuraru/45f157c00a10d0c676e88d6de74e1a6b to your computer and use it in GitHub Desktop.
a〜zまで何かやりたいが為に毎回こんな感じのコードを書かないといけなくてしんどい
for val in UnicodeScalar("a").value...UnicodeScalar("z").value {
let x = String(UnicodeScalar(val)!)
print(x)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment