DEV Community

Discussion on: Kotlin or Swift

Collapse
 
galoiswannabe profile image
galoisWannaBe

If you have a target platform in mind, go Kotlin, if that platform is Android or JVM, and Swift if your target is going to be iOS or MacOS. If your target is multiplatform, I recommend Kotlin, as Kotlin has built-in multiplatform support.

Collapse
 
leviaran profile image
Randy Arba

Yes you right, kotlin multiplatform can do that, in business logic side, in view side or UI side i think not, because IOS still use swift to write the UI.

Collapse
 
galoiswannabe profile image
galoisWannaBe

You'll definitely still be writing the UI in Swift! But you can write the UI in Swift, as well as the functions that Kotlin doesn't do! Moving in the other direction, programming for JVM, Android, etc, it quite the endeavor, though, and doesn't seem to be supported.