Swift : Programming Language


Closures

“Closures are self-contained blocks of functionality that can be passed around and used in your code. Closures in Swift are similar to blocks in C and Objective-C and to lambdas in other programming languages.”

Excerpt From: Apple Inc. “The Swift Programming Language (Swift 2.2).” iBooks.