@derek-zhou there are ways of calling Swift code from C and C from Swift. In this project I have a few examples for the latter code-beam-lite-nyc-2024/beamstagram/native/swiftui/Beamstagram at 616324a03685ee481d00e131ab47923b5b027de6 · polvalente/code-beam-lite-nyc-2024 · GitHub
I think a similar approach could be taken to call Swift from C, and then just the common types would have to be registered on both sides.






















