In a xcode project that uses swift, but there are functions in swift that I want c++ to call from? Can this be done?

Viewed 41

I'm no stranger to C++ but completely new to swift. But I want to make applications for the iOS platform and possibly for macOS too. But the thing is, and xcode project is entirely in swift, not Objective-C. There is a c++ application that has no wrappers or whatsoever. What I want to achieve is from C++, I want to call out some functions that are in swift and have that function from swift to run in c++. Is this possible or no?

0 Answers
Related