Swift Closures

Swift Closures

One of the more powerful features in Swift are closures. Similar to blocks in Objective-C, closures allow you to encapsulate...