• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: c++ and cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Writing optimized screeshot utility.
  • Next by Date: NSWindow and Core Anim - flickering
  • Previous by thread: c++ and cocoa
  • Next by thread: Re: c++ and cocoa
  • Index(es):
    • Date
    • Thread