Chapter 6
The Runtime, Managing Memory, and Using Properties
In This Chapter
Understanding the application life cycle
Handling interruptions
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 app actually do something. But before you do that, I want to explain three things about writing iOS apps.
First, a lot of what you’ll be doing is customizing and extending the behavior of framework classes. You customize and extend the behavior of these classes through subclassing, delegation, and using a powerful Objective-C feature called declared properties.
Second, on iPhone or iPad, like any other ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access