A quick & simple String extension to localize your application
Fast and simple extention to String to replace NSLocalizedString and similar Apple functions.
"string.to.localize".localized
// or
"string.to.localize".localized()
"string.to.localize".localized("TableName")
"string.to.localize".localized(comment: "This is the comment")
"string.to.localize %@".localized(arguments: [12]) // Print: "string.to.localize 12"
"string.to.localize %@".localized(value: "No localization found")
Current version is compatible with:
- Swift 3.0+
- iOS 9 or later