Skip to content

Instantly share code, notes, and snippets.

@hamishknight
Created October 16, 2016 18:51
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 hamishknight/80b2753423e8ee33b562f5ee6d3b4f24 to your computer and use it in GitHub Desktop.
Save hamishknight/80b2753423e8ee33b562f5ee6d3b4f24 to your computer and use it in GitHub Desktop.
func test(closure: () -> Void) {
let localClosure : @noescape () -> Void = { closure() }
localClosure()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment