• 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: ARC + return of autoreleased CFType
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC + return of autoreleased CFType


  • Subject: Re: ARC + return of autoreleased CFType
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 20 Oct 2011 17:31:16 -0700

On Oct 20, 2011, at 15:38 , Jean-Daniel Dupas wrote:

> Le 20 oct. 2011 à 23:38, Bill Cheeseman a écrit :
>
>> I found this discovery extraordinarily helpful in using Analyze to kill memory issues in a couple of frameworks I distribute. The frameworks make heavy use of CFTypeRef objects. I would love to hear from anybody at Apple who can confirm that this is the way Analyze is meant to work.
>>
>
> If you want to avoid ambiguity, just add a CF_RETURNS_RETAINED annotation attribute to your method.

And I'll just throw in this reference:

	http://clang-analyzer.llvm.org/annotations.html

which I found to be a good overview of what the analyzer is trying to do, though it doesn't address Bill's question directly.


_______________________________________________

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: 
 >Re: ARC + return of autoreleased CFType (From: Matt Neuburg <email@hidden>)
 >Re: ARC + return of autoreleased CFType (From: Greg Parker <email@hidden>)
 >Re: ARC + return of autoreleased CFType (From: Matt Neuburg <email@hidden>)
 >Re: ARC + return of autoreleased CFType (From: Bill Cheeseman <email@hidden>)
 >Re: ARC + return of autoreleased CFType (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Core Data: Determine if managed object is deleted
  • Next by Date: Re: WebView doesn't scroll
  • Previous by thread: Re: ARC + return of autoreleased CFType
  • Next by thread: How to get rid of blinking?
  • Index(es):
    • Date
    • Thread