3 ms·
Functions are values in Swift. Closure literal syntax is just a shorthand where you don’t have to name the function first.
by slavapestov 9y ago
Functions are values in Swift. Closure literal syntax is just a shorthand where you don’t have to name the function first.