Skip to content

Instantly share code, notes, and snippets.

@iggym
Created January 18, 2017 15:29
Show Gist options
  • Save iggym/5afe9d57a5758a501d4b2feb7fd7f3dc to your computer and use it in GitHub Desktop.
Save iggym/5afe9d57a5758a501d4b2feb7fd7f3dc to your computer and use it in GitHub Desktop.
function in swift
func doSomeStuff(person: String) -> String {
let greeting = "Hello, " + person + "!"
return greeting
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment