godotengine / godot-ios-plugins

MIT License
126 stars 48 forks source link

How to integrate C++ directly with Swift? #61

Open myselfuser1 opened 6 months ago

myselfuser1 commented 6 months ago

In WWDC 2023 apple announced direct C++ interop with Swift 5.9, In every plugin i have noticed that there is a C++ file and the implementation is written in Objective-C. Is there a simple example of integrating the C++ file with Swift and call the required iOS api in swift and make it work.