O'Reilly logo

iOS 8 SDK Development, 2nd Edition by Janie Clayton, Chris Adamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required