hello, i have developped an app on ios using objective-c and ultralite. (using sql anywhere 12) i am moving my programming to swift 3 now, but there's no way to add c++ modules into a swift based project (even if i create a bridging header, it's not working) what should i do? any hints?
asked 29 Jan, 06:22
I think the best approach is to write an Objective-C++ cover for the UltraLite classes -- something that's tailored to your application needs and that also handles the conversion to/from Objective-C types. Then you can call this interface from Swift. In this way, you can definitely add C++ modules to your Swift project, you just can't call C++ directly from Swift.
answered 30 Jan, 11:36