Skip to content

Instantly share code, notes, and snippets.

@Eeyore741
Last active July 9, 2018 12:24
Show Gist options
  • Save Eeyore741/fbd506ed102cf88cea5f79385ce9974a to your computer and use it in GitHub Desktop.
Save Eeyore741/fbd506ed102cf88cea5f79385ce9974a to your computer and use it in GitHub Desktop.
private func pineapplesCountUniversal(count: UInt) -> String{
let formatString : String = NSLocalizedString("johns pineapples count",
comment: "Johns pineapples count string format to be found in Localized.stringsdict")
let resultString : String = String.localizedStringWithFormat(formatString, count)
return resultString;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment