On Mon, 30 Aug 2010 08:37:08 -0700, Joar Wingfors said:

>I think that it's definitively preferable to autorelease on the same
>line. It keeps all memory management together, and it's much less likely
>that later rearrangements of the code in question will result in memory
leaks.

And for those that agree, AnalysisTool can flag failure to follow this style:

<http://www.karppinen.fi/analysistool/#memory-management>

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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