Skip to content

Instantly share code, notes, and snippets.

@stevencurtis
Created May 20, 2020 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevencurtis/94c5aa1fd966829ef812760f6e09ab7c to your computer and use it in GitHub Desktop.
Save stevencurtis/94c5aa1fd966829ef812760f6e09ab7c to your computer and use it in GitHub Desktop.
twofunctions
func outputString(str: String) {
print (str)
}
func whenComplete() {
print ("complete")
}
outputString(str: "Hello, World!") // Hello, World!
whenComplete() // complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment