Wrap-Up

In this chapter, we furthered our command of how to determine not just “what” to run, but “when” and “how.” We built on the last chapter’s introduction of closures as an object wrapper for code, and used Grand Central Dispatch to put our closures onto the main thread when they need to access UIKit classes and methods, and get them off the main queue when they need to get out of its way. Between the many built-in APIs that are designed for asynchronicity and concurrency, and our own ability to make things concurrent with GCD, we’ve got great tools to keep our app snappy.

We’ve now got a pretty full screen with this table of tweets, but we still want to do a lot more with our app. The only way to do that is going to be to start having several ...

Get iOS 8 SDK Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.