Chapter 13

Grand Central Dispatch, Background Processing, and You

If you’ve ever tried your hand at multithreaded programming, in any environment, chances are you’ve come away from the experience with a feeling of dread, terror, or worse. Fortunately, technology marches on, and lately Apple has come up with a new approach that makes multithreaded programming much easier. This approach is called Grand Central Dispatch, and we’ll get you started using it in this chapter.

We’ll also dig into the new multitasking capabilities in iOS 4, showing you how to adjust your applications to play nicely in this new world, as well as using the new capabilities to make your apps work even better than before.

Grand Central Dispatch

One of the biggest challenges ...

Get Beginning iPhone 4 Development: Exploring the iOS SDK 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.