Skip to content

Instantly share code, notes, and snippets.

@micheltlutz
Created September 3, 2018 11:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save micheltlutz/f41adfe0cd31b579a8c9b1c891fa8284 to your computer and use it in GitHub Desktop.
String Dynamic Parameter variable
var str = "Hello %@, welcome to playground"
let tvar = String(format: NSLocalizedString(str, comment: "%@"), "Mike")
print(tvar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment