godot-sdk-integrations / godot-ios-plugins

MIT License
139 stars 54 forks source link

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

Open myselfuser1 opened 10 months ago

myselfuser1 commented 10 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.