Re: 'Build and Analyze' with XCODE 3.2.2
Re: 'Build and Analyze' with XCODE 3.2.2
- Subject: Re: 'Build and Analyze' with XCODE 3.2.2
- From: David Duncan <email@hidden>
- Date: Mon, 26 Apr 2010 09:24:55 -0700
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 (email@hidden)
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:
This email sent to email@hidden