Post

Replies

Boosts

Views

Created

How do I include cross-platform c++ code in my XCode app
I am trying to create a cross platform application where some of the code is shared among the Android and iOS version and is written in c++ however I am not really sure where to begin with the XCode/iOS/Swift side of things. I can write c++ code but I am not sure where to put it. Most of the tutorials I can find show how to include already compiled c++ code into your project but I want to be able to write it alongside my swift code just like I might do with a bridging header in objective-c.How can I set up XCode so I can edit and compile my c++ code alongside my Swift code?
15
0
1.0.0k
Dec ’17