+ 7
How do you think about Kotlin multiplatform(KMM)?
What is your opinions for Kotlin Multiplatform?
5 Antworten
+ 3
Yeah, kotlin mm is awesome it allows you to interact 2 or more different platform like js and jvm or ios and android even accessing libraries from many platforms in single kotlin file which would be much useful specially for creating great and huge project , which is super useful
https://kotlinlang.org/docs/multiplatform.html#use-cases
+ 1
Kotlin multi platform is used to devlop multi platform apps with single kotlin based code.
Sharing same logic, you can reduce the development time. If your android app needs to be ported on iOS, instead of using Swift you can use the same kotlin code which is used in your existing android app to develop iOS app. Performance and quality of the app will be very high, after all it's all native.
But you need knowledge of native iOS API, all the android libraries and API or XML doesn't covert miracally into Swift UI, you have to do all works, the benefits is sharing the same logic, which reduce the development time, at least we don't have to start from scratch.
For example.
Class mainActivity : AppCompatActivity(){
}
should be,
Class mainActivity : UiViewController(){
}
0
hi
0
hello
0
Hi