You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that it's pretty impossible to call call C++ from Swift, but Swift could call ObjC methods.
In this article there is an example on how to use ObjC to bridge C++ to Swift and might be a good start to make this library support it too
Thanks for sharing, @gabrielmoncea. Codegen generates .mm files, and I couldn't find an easy way to implement the protocol of the generated code in Swift. Especially since there's a function you must call from our own .mm file that is entirely c++ (the JSI binding itself).
I would love to see a proof of concept with swift + nice binding but couldn't get one working by myself (invested about 2-3 hours in trying and making it happen)
I understand that it's pretty impossible to call call C++ from Swift, but Swift could call ObjC methods.
In this article there is an example on how to use ObjC to bridge C++ to Swift and might be a good start to make this library support it too
https://anuragajwani.medium.com/how-to-consume-c-code-in-swift-b4d64a04e989
The text was updated successfully, but these errors were encountered: