Permalink
Browse files

Update README.md

  • Loading branch information...
bretdabaker committed Aug 9, 2017
1 parent cca6629 commit fa76bb1ce4deddf5959593a1228cd16f6e757a26
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
@@ -67,6 +67,19 @@ OSLocalizedStringFromTable(key, tbl, comment)
OSLocalizedStringWithDefaultValue(key, tbl, val, comment)
```
Swift 3
----------------
You can public functions to wrap the code in Swift
``` swift
public func OSLocalizedString(_ key: String, comment: String) -> String {
return OneSkyOTAPlugin.localizedString(forKey: key, value: "", table: nil)
}
public func OSLocalizedStringFromTable(_ key: String, table: String, comment: String) -> String {
return OneSkyOTAPlugin.localizedString(forKey: key, value: "", table: table)
}
```
Language
----------------

0 comments on commit fa76bb1

Please sign in to comment.