On Wed, May 21, 2008 at 7:35 PM, Johnny Lundy <[EMAIL PROTECTED]> wrote:

> All it would take is a single sentence under the "Class Methods" header, to
> say that these methods autorelease the returned object (AND that such
> autoreleasing means that the object will be deallocated if the method in
> which it was created returns).

No: autorelease is useful precisely because the object will not be
deallocated when the method in which it was created returns. Please
see 
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html.

Hamish
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to