Re: Using C++ classes from Objective C
Re: Using C++ classes from Objective C
- Subject: Re: Using C++ classes from Objective C
- From: Scott Thompson <email@hidden>
- Date: Thu, 20 Mar 2008 21:57:10 -0500
On Mar 20, 2008, at 2:34 PM, Jeremy wrote:
Thanks everyone!
Using a void* for the member variable of my wrapper class did the
trick and I now have my Objective C code calling my C++ code!
What is the best way to pass strings from my Objective C code to my C
++ code though?
I started looking at the unichar definition and the methods on
NSString, but would like to know if there is an obvious standard for
dealing with the unicode issues.
Are your C++ classes using CFStringRef, or std::string, or something
else?
Do you try and use wchar_t in your C++?
Scott
_______________________________________________
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