Re: CFStringRef == NSString* ?
Re: CFStringRef == NSString* ?
- Subject: Re: CFStringRef == NSString* ?
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Wed, 21 Apr 2004 16:22:08 -0500
Mark Alldritt, email@hidden, wrote:
>
I have a bunch of C++ code that interacts with CodeFoundation (CFString,
>
etc.). I would like to reused this code in a Cocoa project. The question
>
is this: are the CoreFoundation types (CFStringRef, CFArrayRef, etc.) equal
>
to corresponding FoundationKit types (NSString*, NSArray*, etc.)?
>
>
If this is true, then I can safely cast my CFStringRef to a NSString* and
>
pass it along to the Objective-C/Cocoa portions of my application.
Yes:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/CarbonCocoaDoc/c
ci_chap2/chapter_2_section_5.html#//apple_ref/doc/uid/20001515/TPXREF144>
| Jonathan 'Wolf' Rentzsch
http://rentzsch.com
| Red Shed Software
http://redshed.net
| "better" necessarily means "different"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.