Re: Bridging C++ to Cocoa?
Re: Bridging C++ to Cocoa?
- Subject: Re: Bridging C++ to Cocoa?
- From: Shawn Erickson <email@hidden>
- Date: Sat, 17 Nov 2007 17:05:12 -0800
On Nov 17, 2007, at 5:03 PM, Graham Reitz wrote:
I included it in the main.m file to see what happens. Does it have
to end in mm to compile C++ classes?
Ok, I had better go through some of the Cocoa tutorials.
.m = Objective-C
.mm = Objective-C++
Xcode knows what to do with those file endings automatically or you
can tell Xcode how to treat a given file if you want but I use the .mm
naming myself to make it clear and keep it automatic.
-Shawn
_______________________________________________
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