• 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: understanding conversions between CF and NS datatypes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: understanding conversions between CF and NS datatypes


  • Subject: Re: understanding conversions between CF and NS datatypes
  • From: Dave Carrigan <email@hidden>
  • Date: Fri, 29 Aug 2008 12:24:43 -0700


On Aug 29, 2008, at 10:38 AM, Allen Curtis wrote:

1. Where can I get a better understanding of the data conversion between
these different frameworks?

As I understand it, it's not a "data conversion". If a class is toll- free bridged, a CFRef is also an objective-c object. So whether you do something with a CF API or you pass it an objective-c message, they both operate on the same object. When you come down to it, both objective-c objects and CFRefs are pointers, so this makes sense, as long as both sides understand how to interpret the chunk of memory that the pointer references.


--
Dave Carrigan
email@hidden
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

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: 
 >understanding conversions between CF and NS datatypes (From: "Allen Curtis" <email@hidden>)

  • Prev by Date: Re: understanding conversions between CF and NS datatypes
  • Next by Date: Re: Bindings: Specifying the Class of a Controller’s Content
  • Previous by thread: Re: understanding conversions between CF and NS datatypes
  • Next by thread: Re: understanding conversions between CF and NS datatypes
  • Index(es):
    • Date
    • Thread