Is it possible to play with SKIE and Swift Export ...
# touchlab-tools
j
Is it possible to play with SKIE and Swift Export to fill the gaps this last does not include yet?
k
no, Swift export has no migration path from the current objc interop. With or without skie. You can't mix them. In addition, swift export is nowhere near parity, and depending on the choices the team makes, won't ever be really. Skie makes opinionated choices about types which stock interop probably won't make. We won't really know until they're much further along.
j
My use case is implementing a Kotlin interface with suspend and flow methods in Swift. It is becoming a pain or I am missing something. It is too late now but my plan for tomorrow is doing the reverse thing, instead of implementing that interface with some swift code generated that is the implementation detail for it, pick that generated Swift code into a cocoapod module and import it in Kotlin so implementing the interface should be straightforward, I guess.
c
Implementing a Kotlin interface with suspend and flows from Swift is really a pain. I don't think Swift export will solve that though. I think SKIE is more likely to solve it at a library level.
j
I was able to workaround it but without Skie. To be honest it would be simple to do it in Kotlin but now there is no Swift import, so I was not able to add the generated Swift code into Kotlin easily.