Skip to content

Instantly share code, notes, and snippets.

@SlaunchaMan
Last active August 29, 2015 14:05
Show Gist options
  • Save SlaunchaMan/224033efe67bb3ce2a65 to your computer and use it in GitHub Desktop.
Save SlaunchaMan/224033efe67bb3ce2a65 to your computer and use it in GitHub Desktop.
Swift is silly
let πŸ’©: Character = "πŸ’©"
func pooify(string: String) -> String {
var returnedString: String = ""
for c: Character in string {
returnedString.append(πŸ’©)
}
return returnedString
}
pooify("Hello World")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment