Skip to content

Instantly share code, notes, and snippets.

@robertmryan
Last active February 28, 2016 23:21
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 robertmryan/927aa2e1642a15844ba3 to your computer and use it in GitHub Desktop.
Save robertmryan/927aa2e1642a15844ba3 to your computer and use it in GitHub Desktop.
var thing = 0
func hi() {
// Do something
thing++
print(thing)
}
@IBAction func somethingHi(sender: AnyObject) {
hi()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment