O'Reilly logo

Pro Objective-C by Keith Lee

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

Chapter     6

Expert Section Using ARC

Believe it or not, you’re approaching the end of Part 1 in this book. So far, so good! Part 1 concludes with this Expert Section chapter. Expert Section chapters are designed to provide additional details and more in-depth coverage of a subject presented earlier in the book. In this chapter, you’ll learn some of the finer details surrounding ARC memory management. You’ll review some key points about ARC memory management and object ownership, and also learn how to use ARC with toll-free bridged objects.

ARC and Object Ownership

Recall from Chapter 4 that Objective-C code creates objects stored in dynamically allocated memory (the heap). Objects created on the heap never go out of scope, thus application ...

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