I noticed that I can't find SwiftUI in the platform package. Is there a timeline on when SwiftUI will be available in iosMain? I'm trying to get an expect/actual for state to use for SwiftUI/Compose. I'd like to be able to use the expect/actual to create the state variables in shared code. This works for Compose, but I can't get the iOS side working without a platform.SwiftUI
r
russhwolf
07/28/2021, 3:40 PM
Kotlin talks to Objective-C and not Swift directly, so this won't be possible for a while. One workaround is to create an interface in common which you implement in Swift, rather than using expect/actual.
l
Landry Norris
07/28/2021, 3:41 PM
I was a bit worried this would be the case. Thank you. I'll look into other ways to do this.