CFStringRef == NSString* ?
CFStringRef == NSString* ?
- Subject: CFStringRef == NSString* ?
- From: Mark Alldritt <email@hidden>
- Date: Wed, 21 Apr 2004 13:22:45 -0700
Hello,
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.
Cheers
-Mark
---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB:
http://www.latenightsw.com/ CANADA V8V-4M9
AIM: markalldritt
_______________________________________________
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.