< Previous PageNext Page > Hide TOC

Memory Management Rules

This document summarizes the rules for memory management in Objective-C.

This is the fundamental rule:

The following rules derive from the fundamental rule, or cope with edge cases:

For a more complete discussion of memory management in Objective-C see “Object Ownership and Disposal.”



< Previous PageNext Page > Hide TOC


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-05-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.