• 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
Integrating C++ into Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Integrating C++ into Swift


  • Subject: Integrating C++ into Swift
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 13 Jun 2015 12:01:54 -0700

I have an application that makes use of a large C++ core (used across several platforms). I’d like to move it to Swift, but Swift has no support for C++, so I’d have to add bridging and translation layers in between the two languages written either in C (losing all that object-oriented goodness) or ObjC.

Do any of you have experience with mixed C++/Swift codebases? What do you do? Are there any tricks I’m not aware of? Automated tools that make it less of a pain?

Right now, I get the impression that, given I’d have to use ObjC for bridging anyway, I might as well leave the GUI layer code in ObjC.

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


  • Follow-Ups:
    • Re: Integrating C++ into Swift
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Language options: Objective-C, Swift, C or C++?
  • Next by Date: Re: Language options: Objective-C, Swift, C or C++?
  • Previous by thread: [OT] correcting mistaken identity
  • Next by thread: Re: Integrating C++ into Swift
  • Index(es):
    • Date
    • Thread