Would it be better to use Kotlin or Swift for an app? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Would it be better to use Kotlin or Swift for an app?

31st Oct 2019, 1:41 AM
Pluto On Earth
2 Answers
+ 2
If you want to build an app solely for Android...then Kotlin is your weapon,for IOS use swift or objective C but you can use Kotlin/Native to make apps that run on iOS...Swift is well documented and there are alot resources for it compared to Kotlin. If you are targeting both Operating systems then you can use Kotlin since you can share common Kotlin code between many platforms, including Android, iOS, server-side, JVM, client-side, JavaScript, CSS, and native.
31st Oct 2019, 2:56 AM
Cebo Sithole
Cebo Sithole - avatar
+ 1
It depends on which systems you have access to as Swift is best on Mac and Kotlin on PC. You can make Android apps with Swift and iOS apps with Kotlin though the reverse is better supported. The issue is, without two custom support libraries, the same base code can't be used on both platforms. Therefore, it doesn't make sense to use either for a single app to run on both. Web based code can be packaged into apps on both.
31st Oct 2019, 2:57 AM
John Wells
John Wells - avatar