Last active
October 9, 2018 10:42
-
-
Save damijanracel/57e28a97dd3e5dfb0056c5d0193e46ce to your computer and use it in GitHub Desktop.
String extension for localization
This file contains 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
func localized() -> String { | |
let localizedString = NSLocalizedString(self, comment: "") | |
return localizedString | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment