On Apr 24, 2010, at 1:33 PM, Quincey Morris wrote:

> Also, you should preferably follow the memory management rules about naming 
> methods. Either autorelease gregorian before releasing it, or put "Create" 
> somewhere in your method name.


FYI "Create" is for functions, "new" is for methods. The analyzer won't 
recognize one where the other is proper. There are also adornments you can use 
to override the analyzer's understanding, but I can't recall them right now.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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