Re: Xcode 5 & Obj-C++
Re: Xcode 5 & Obj-C++
- Subject: Re: Xcode 5 & Obj-C++
- From: Uli Kusterer <email@hidden>
- Date: Thu, 30 Jan 2014 00:04:32 +0100
On 29 Jan 2014, at 18:02, Peter Teeson <email@hidden> wrote:
> All the searching I've done has not turned up anything current about how things work
> these days with Xcode 5 and llvm. There is the 2005 ObjC++.pdf which I have
> but Xcode has changed a lot since those days.
I talked about ObjC++ on NSBrief a while ago: http://nsbrief.com/113-uli-kusterer/ It’s a very comprehensive summary of all the tricks and techniques I commonly use, plus an introduction into how the whole thing behaves.
> I understand that the file extension needs to be .mm to mix Obj-C and C++.
> But other than a command line template, which is for C++, there does not seem to be one for ObjC++.
It’s not needed. You can just add .mm files to a project created from the ObjC++ template and it’ll work. IIRC you don’t even have to add the -lc++ option to add the C++ standard library anymore.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
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