Chapter 4

Memory Management and Diagnostics

In the previous chapter, we looked at an application that is basically feature complete but still needs a lot of work. We have our project set up with source control from Github, and we are ready to start fixing this application to make it ready for beta testing. The fun stuff starts in this chapter.

The likelihood of our application crashing is very high at this point. We know that one of the main reasons an application is rejected from the App Store is because it crashes. In this chapter, you are going to learn how to fix memory-related crashes and find memory leaks before they cause performance issues on the device. We're going to approach finding these issues in a very methodical way so that these ...

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.