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 ...

Get Pro Objective-C now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.