Understanding the Runtime, Managing Memory, and Using Properties
In This Chapter
Understanding the application life cycle
Using Automatic Reference Counting to manage memory
Understanding the five rules of memory management
Customizing framework behaviors
Taking advantage of the power of declared properties
Previous chapters provide you with at least a basic understanding of how to graphically build your user interface. Now it’s time to add some code to have your application actually do something. But before you do that, I want to explain three things about writing iPhone apps.
First, a lot of what you will be doing is customizing and extending the behavior of framework classes. You customize and extend the behavior of these classes through subclassing, delegation, and a powerful Objective-C feature called properties.
Second, on the iPhone, like any ...