In this chapter, you will learn the following:
Review the old manual memory management policies
Object ownership policy
The new Automatic Memory Management bases on the old manual memory management.
What object copying is and how to use it.
How to use autorelease and release methods properly.
A review of memory instruments. iPhone is a constrained environment with a limited amount of memory. However, many developers either underestimate or overestimate that fact, so they don’t take advantage of all the available memory in the iPhone to boost performance. Others are so scared of memory and performance in iPhone that they do lots of premature optimization, which harms the readability of the code and makes it hard to maintain the code base later.