Hi i'm very newbie and i'm studing, so i have some...
# multiplatform
g
Hi i'm very newbie and i'm studing, so i have some general questions about kmp e compose multiplatform. 1. i can develop a KMP project and use Compose Multiplatform or i have to choose or a KMP project or a Compose Multiplatofm progect. 2. If i use Compose Multiplatform some Screen or some complex Ui can i use SwiftUI
p
1. Compose Multiplatform is a Kotlin Multiplatform framework. If you use Compose Multiplatform you are using KMP. But not all KMP projects use Compose. 2. Yes. You can use the
UIKitViewController
composable in compose code to call UIKit code. And you can call Swift from UIKit. I don't think you can call Swift code from Kotlin directly.
I wouldn't overdo mixing things though.
You can call Swift code as long as it's been marked with @obj annotation etc.
👍 1
It's possible to import cocoapods that have this annotation into your KMP project and use them