Chapter 6

Networking, Cache, and Power Management

So far, we've looked at how to remove memory leaks and make our interfaces scroll and animate without much lag. The application is starting to perform and act like a polished app that is ready for prime time. What is the next step in our process? Networking is the next step.

The problem that comes with developing these applications is that we have high-speed Internet connections most of the time while we're developing and debugging our application. We're going to look at tools to help mimic slow and unreliable networks so we can see how our application is going to perform in the field.

Mobile devices communicate via a very unreliable and relatively slow network (when not connected on a Wi-Fi ...

Get Pro iOS5 Tools: Xcode Instruments and Build Tools now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.