O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

Memory Management

It used to be that memory management was one of the most challenging aspects of learning Objective-C. Fortunately, that is no longer the case because Apple has introduced a system called Automatic Reference Counting (ARC) that hides most of the complexity of memory management. However, although you don’t need to know all the intricacies of managing memory in your apps, it’s still important to understand what’s going on and how it works.

In object-oriented programming, it’s always a problem to reclaim the memory left behind when all references to an object are removed. For instance, imagine you create two objects and assign them to variables a and b, respectively. But then later, you assign variable a to point to variable b. ...

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