Re: understanding conversions between CF and NS datatypes
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