• 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: Xcode 5 & Obj-C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Xcode 5 & Obj-C++ (From: Peter Teeson <email@hidden>)

  • Prev by Date: Re: Preserving undo actions on deleted targets
  • Next by Date: Re: Preserving undo actions on deleted targets
  • Previous by thread: Re: Xcode 5 & Obj-C++
  • Next by thread: Re: Xcode 5 & Obj-C++
  • Index(es):
    • Date
    • Thread