Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Funnel access to an object’s properties through methods to hide implementation details and confine code related to memory management to those methods. Cocoa’s reference counted memory management provides a relatively simple pragmatic solution to the difficult problem of memory management, but patterns must be applied to use reference counting correctly, and accessors play a pivotal role in keeping memory management simple.
Enable use of higher level Cocoa technologies like Bindings, Key Value Coding, and key Value Observing with your custom classes.