• 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: Calling autorelease on CFAllocated objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling autorelease on CFAllocated objects?


  • Subject: Re: Calling autorelease on CFAllocated objects?
  • From: Wade Tregaskis <email@hidden>
  • Date: Wed, 09 Jul 2008 16:47:13 -0700

http://www.cocoabuilder.com/archive/message/cocoa/2008/7/5/212046

I wish this were better documented; the Search Kit docs show autorelease being sent to an SKDocumentRef, also, and that's always made me nervous (I think I actually sent feedback on that one a long time ago).

I do apologise, you are absolutely correct. The confusion arises from the fact that the term "toll-free bridging" is used to describe CF objects that have real NS equivalents, functionally. In fact, all CF objects are bridged, in a functional sense - just that by default they're bridged to essentially NSObject so all you get is the basic NSObject functionality.


So my previous answer was actually right, just not helpful. :D

The documentation could be clearer, yes. I just filed a bug report myself, which I know isn't the first, but if you do encounter places in the documentation which talk about toll-free bridging and are ambiguous or seemingly contrary to this, please file bug reports for those specifically.

Wade
_______________________________________________

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


  • Follow-Ups:
    • Re: Calling autorelease on CFAllocated objects?
      • From: "Ken Ferry" <email@hidden>
References: 
 >Calling autorelease on CFAllocated objects? (From: Scott Andrew <email@hidden>)
 >Re: Calling autorelease on CFAllocated objects? (From: Wade Tregaskis <email@hidden>)
 >Re: Calling autorelease on CFAllocated objects? (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Attributed menu titles
  • Next by Date: Re: Nesting IKImageBrowser GroupStyles
  • Previous by thread: Re: Calling autorelease on CFAllocated objects?
  • Next by thread: Re: Calling autorelease on CFAllocated objects?
  • Index(es):
    • Date
    • Thread