Advertisement
neatekFb

Localized Swift -> create Localizable.strings

Feb 6th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.15 KB | None | 0 0
  1. extension String {
  2.     var localized: String {
  3.         return NSLocalizedString(self, tableName: nil, bundle: Bundle.main, value: "", comment: "")
  4.     }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement