Created
July 16, 2015 17:01
-
-
Save clmntcrl/df9343a42263fda192bb to your computer and use it in GitHub Desktop.
LocalizedString
This file contains hidden or 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
// LocalizedString by Clément Cyril - @clmntcrl - http://clmntcrl.io/ | |
// Copyright 2015 Clément Cyril. | |
import Foundation | |
func localizedString(string: String, comment: String = "") -> String { | |
return String(NSLocalizedString(string, comment: comment)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment