O'Reilly logo

Beginning Objective-C by Ash Furrow, James Dovey

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     4

Objective-C Language Features

Now that we have covered the Foundation framework in Chapter 3, you should be familiar with reading Objective-C code and should have an intuitive mental model of how the runtime operates. This chapter takes a closer look at the language and its semantics; it breaks that mental model down from the intuition you’ve developed and presents the rules that form the mechanics of Objective-C.

Strong and Weak References

A large part of writing Objective-C is managing the references that executing code holds to objects, as well as the references objects hold to one another. Previous to ARC, Objective-C used manual memory management on iOS and, optionally, garbage collection on OS X. Both of these approaches ...

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