Functions and closures
A function gives a name to a piece of work. Swift's argument labels make each call read like a sentence, and closures let you hand a small piece of code to another function.
A function gives a name to a piece of work. Swift's argument labels make each call read like a sentence, and closures let you hand a small piece of code to another function.