On Wed, Aug 18, 2010 at 12:16 PM, Sherm Pendley <sherm.pend...@gmail.com> wrote: > Possibly, but even in that case it would still have to "return [[self > retain] autorelease];" in order to fulfill its end of the memory > management contract.
This is incorrect. It's perfectly valid to just return self if you aren't returning a +1 reference. Autorelease pools are in implementation detail. --Kyle Sluder _______________________________________________ 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