O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to Memory Management

Now, wait a minute. Haven’t we as a species advanced to the point where we don’t need to worry about managing memory? Why on Earth should we manage memory when garbage collection algorithms can do just as good a job (or better!)? Look at Java, C#, or any web programming language today. They all use garbage collection and leave you with mental bandwidth so you can solve real problems instead of mucking around with allocating and deallocating memory.
In fact, even the desktop Mac programming environment offers garbage collection. So you may be surprised to find out that the iPhone OS does not use garbage collection at all.
Why did Apple make this decision? In a word: performance. A garbage collector is like ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required