Skip to content

Instantly share code, notes, and snippets.

@vincent-pradeilles
Created August 9, 2017 19:11
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 vincent-pradeilles/3961e7a216555a18ba687b80c7c39398 to your computer and use it in GitHub Desktop.
Save vincent-pradeilles/3961e7a216555a18ba687b80c7c39398 to your computer and use it in GitHub Desktop.
extension String {
var overridableLocalized: String {
return OverridableLocalizedString(key: self)
}
}
let localized = "my_key".overridableLocalized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment