Is there any sample for using Kotlin/Native with Obj-c code using cklib
r
russhwolf
08/09/2023, 5:48 PM
I don't think we have any samples unless there's something in the repo. It's not something we're actively using these days. Is there something particular you're trying to do with it?
m
mohamed rejeb
08/09/2023, 5:54 PM
I want to use some obj-c code in kotlin/native
I'm thinking of publishing the obj-c as a framework with cocopoads and use it with K/N cocopoads but it's a lot of work for just few files.
Also I think of another option which is rewriting the code in Kotlin/Native but I didn't know how to initialize the CharCode in kotlin
We explicitly don't support cklib because including native code has so many potential config problems unrelated to cklib that we effectively wind up giving people a crash course in that. The only public sample I know of off hand is zipline from Cash App. However, it seems like your use case is similar to theirs, although it's C and not Objc.