Glen Low
2004-01-31 08:58:05 UTC
According to
http://developer.apple.com/documentation/Cocoa/Conceptual/
CarbonCocoaDoc/cci_chap2/chapter_2_section_5.html#//apple_ref/doc/uid/
20001515/TPXREF144, some Core Foundation (ObjC) and Foundation (C)
types are toll-free bridged i.e. they can be intercast without
conversion.
I know the "root class" of Foundation objects is CFType (or CFTypeRef)
and that of Core Foundation is NSObject (NSObject*). Does this mean
that CFType is toll-free bridged with NSObject? -- or at the very least
can I perform the generic CFType functions like CFRelease, CFRetain on
an NSObject or derivative?
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
http://developer.apple.com/documentation/Cocoa/Conceptual/
CarbonCocoaDoc/cci_chap2/chapter_2_section_5.html#//apple_ref/doc/uid/
20001515/TPXREF144, some Core Foundation (ObjC) and Foundation (C)
types are toll-free bridged i.e. they can be intercast without
conversion.
I know the "root class" of Foundation objects is CFType (or CFTypeRef)
and that of Core Foundation is NSObject (NSObject*). Does this mean
that CFType is toll-free bridged with NSObject? -- or at the very least
can I perform the generic CFType functions like CFRelease, CFRetain on
an NSObject or derivative?
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com