Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexis Taugeron ataugeron

View GitHub Profile
View gist:ef50454ba9d4abed07de
func myPrint(str: String, #completion: () -> ()) {
println(str)
completion()
}
let words = ["foo", "bar", "baz"]
let finalCompletion = { println("Done") }