SEAbdulbasit / TravelApp-KMP

JetBrains Compose Multiplatform UI App (Android, iOS, Desktop, Web). MVVM - Kotlin MultiPlatform (KMP)
573 stars 82 forks source link

UI code files #1

Closed Irfanulhaq1991 closed 1 year ago

Irfanulhaq1991 commented 1 year ago

@SEAbdulbasit Couldn't find any UI file in the android or IoS app. am I missing something?

SEAbdulbasit commented 1 year ago

UI is in shared module.

Irfanulhaq1991 commented 1 year ago

Could you please also elaborate on why should one opt compose over swift UI? It would be nice if you could also provide your learning resources as a reference in the read me.

pablichjenkov commented 1 year ago

Could you please also elaborate on why should one opt compose over swift UI?

I would say maintainability. There is only one code base. Otherwise, you have to maintain 2 ui sources. On another hand, using swiftui, you can still share common business logic code. So, personally I don't see any other advantage than maintainability, I might be wrong.