HI , I am using MVI arch in my view model in KMP ..... but the problem is with sealed class and call...
a
HI , I am using MVI arch in my view model in KMP ..... but the problem is with sealed class and calling it in my swift code ..... any help please ?
h
Take a look at SKIE :)
👍 1
a
can I do anything with the first citizen APIs ?
h
Enable SealedInterop and you should be good to go.
Copy code
skie {
    features {
        group {
            SealedInterop.Enabled(true)
            ...
        }
    }
}
https://skie.touchlab.co/features/sealed
a
I mean without SKIE .... is there anything from jetbrains to solve the problem ?
h
Oh, I don't belive so
You would have to cast to the specific types I belive.
🥲 1
a
OK thank you so much for your help
🫡 1
m
https://kotlinlang.slack.com/archives/C3PQML5NU/p1696755638289749 Could this issue maybe be related to my problem as well? 😅
h
We have had no issues calling methods from IOS with Kotlin Objects.
m
okey.. strange