Skip to content

Instantly share code, notes, and snippets.

@damijanracel
Last active October 15, 2018 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damijanracel/d0838ef6a79cf0529f5de9f8e2a11318 to your computer and use it in GitHub Desktop.
Save damijanracel/d0838ef6a79cf0529f5de9f8e2a11318 to your computer and use it in GitHub Desktop.
Localization key enum
enum LocalizationKey: String {
case hello = "hello"
case bye = "bye"
case progress = "progress"
var string: String {
return rawValue.localized()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment