For those who haven't heard, there is a new way of dealing with memory management in Cocoa starting with 10.7/iOS 5 called Automatic Reference Counting (ARC) that has just been made public.
From the spec:
One addition to this change is the @autorelease{} statement that replaces the need to use NSAutoreleasePool.
Should be some welcomed improvements.
From the spec:
Automatic Reference Counting implements automatic memory management for Objective-C objects and blocks, freeing the programmer from the need [to] explicitly insert retains and releases.
One addition to this change is the @autorelease{} statement that replaces the need to use NSAutoreleasePool.
Should be some welcomed improvements.