Re: c++ and cocoa
Re: c++ and cocoa
- Subject: Re: c++ and cocoa
- From: Michael Wu <email@hidden>
- Date: Tue, 20 Nov 2007 07:07:17 -0500
You start with the file name extension with .mm and just use the c++
code in your Cocoa code.
e.g.
- (void)myCocoaCode:(NSString *)inString
{
std::wstring wsString = L"";
...
}
On Nov 20, 2007, at 3:13 AM, Luca Ciciriello wrote:
Hi All.I'm quite new using Cocoa. I've the necessity to use some C++
pure functions in a Cocoa application.Someone can give me some hint
where I can find a good on line tutorial where is explained how to
use C++ code in a Cocoa app?I'm using Xcode 2.5 on Tiger.
Thanks in advance.
Luca.
_________________________________________________________________
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com_______________________________________________
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:
@rochester.rr.com
This email sent to email@hidden
_______________________________________________
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
References: | |
| >c++ and cocoa (From: Luca Ciciriello <email@hidden>) |