• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'Build and Analyze' with XCODE 3.2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'Build and Analyze' with XCODE 3.2.2


  • Subject: Re: 'Build and Analyze' with XCODE 3.2.2
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 26 Apr 2010 09:40:32 -0700

On Mon, Apr 26, 2010 at 9:24 AM, David Duncan <email@hidden> wrote:
> 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.

They can be found here: http://clang-analyzer.llvm.org/annotations.html

I would advise sticking with the correct naming scheme, rather than
using the annotations to override their meaning. The annotations are
most useful when you have a delegate method that needs to return a
retained reference (-foo:newBar:). The analyzer won't pick up on "new"
anywhere but at the beginning of the method name.

--Kyle Sluder
_______________________________________________

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

References: 
 >'Build and Analyze' with XCODE 3.2.2 (From: John Love <email@hidden>)
 >Re: 'Build and Analyze' with XCODE 3.2.2 (From: Quincey Morris <email@hidden>)
 >Re: 'Build and Analyze' with XCODE 3.2.2 (From: David Duncan <email@hidden>)

  • Prev by Date: Re: iPad Programming Tutorial
  • Next by Date: Re: [iPhone] File coping application
  • Previous by thread: Re: 'Build and Analyze' with XCODE 3.2.2
  • Next by thread: Re: 'Build and Analyze' with XCODE 3.2.2
  • Index(es):
    • Date
    • Thread