Calling Swift code (on iOS) from cocos?

Is it possible to somehow run swift code from an C++ cocos app?
Why do I want this, you ask? I wanted to try playing around with QR-codes, and making an app that can scan QR-codes in Swift is really easy.

If you manage to call swift code from obj-c code (in .mm file), then yes, it is possible. I can only speak for obj-c, did not know swift at all.

I think I read somewhere that it’s possible to call swift methods from obj-c. It would be great if I didn’t have to work with obj-c at all, though.

I think Obj-c++ bridge is only way to communicate with pure obj-c classes from c++.

You need to use Objective-C