https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

anlex N

11/30/2023, 1:39 AM
Hello, teachers, I am fresh man for multiplatform. I have a android app written by jetpack compose, can multiplatform transform it to swiftUI for IOS directly?
🚫 1
d

darkmoon_uk

11/30/2023, 6:01 AM
Not SwiftUI - to Compose Multiplatform on iOS; the answer is 'almost, yes'.
You can have it either way you like - if your App is architected cleanly enough to present a 'state' to the View, then you could decide to write a SwiftUI layer and bind it to the existing presentation logic.
Or you can 'massage' the existing Compose View code into Compose Multiplatform source-set and have it compile directly for iOS; this results in a material design, canvas rendered look, not native.
3 Views