Этот урок пока на английском.
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.