On Sep 16, 2008, at 8:59 PM, Dave DeLong wrote:

The general rule with convenience class methods like that is that they return an autoreleased object.

The rules are encapsulated in the object ownership policy:

<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html >

That they object may, or may not, be returned autoreleased is irrelevant. The only thing which is relevant is whether you own the returned object or not.

Jim
_______________________________________________

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