Integrating C++ into Swift
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