On Jan 19, 2010, at 8:47 PM, Jeff Laing wrote:

> With all due respect, why not?  Apple gives us all those convenience methods 
> but you say we shouldn't use them?

Convenience ≠ performance.

The autoreleased factory methods are very convenient when you're using the 
result temporarily, so you don't have to remember to release it. But when the 
point of the call is to get a reference, and you're not releasing right away 
anyway, it's just as easy and more efficient to use alloc/init.

—Jens_______________________________________________

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 arch...@mail-archive.com

Reply via email to