In this chapter, we discuss the implementation of ARC itself to review what we learned in the last chapter, explaining in detail what ARC is and how it works.
Apple says, “Automatic Reference Counting (ARC) in Objective-C makes memory management the job of the compiler,” but the truth is, ARC isn’t the only job of the compiler. The objective-C runtime needs to help as well, so ARC is actually achieved by both tool and library:
NOTE: As Apple says, if ARC is the only compiler’s job, the __weak ownership specifier can also be usable on iOS4 or OS X Snow Leopard.
When the application is compiled for iOS4 or OS X Snow Leopard, ...