December 2018
Intermediate to advanced
414 pages
10h 19m
English
After our thorough review of closures, it is time to take a step back and reconsider our original goal for this chapter: showing effective ways to handle concurrency in Swift. We have learned that callbacks provide an architectural building block to write concurrent code, and that closures are a great way to implement callbacks. In this section, we should ask ourselves how callbacks perform in more complex, realistic scenarios.
Let's consider this scenario:
Read now
Unlock full access