We have laid down solid cases for Kotlin to choose the one that best suits your requirements and helps you build powerful Mobile apps faster. https://bit.ly/3Yw9OE9
2. List of Topics
● Introduction
● What’s new in Kotlin 1.8.0
● Kotlin/Native
● Kotlin Multiplatform
● Android and iOS applications
● How Kotlin Multiplatform works
● Code sharing between platforms
● Few Things Make Easy to Use Kotlin/Native
● Support for Xcode 14.1
● Kotlin/JS
● Compatibility guide for Kotlin 1.8.0
● Kotlin for beginners you’ll learn
3. Introduction Kotlin is a programming language introduced by JetBrains, the official designer of the most
intelligent Java IDE, named Intellij IDEA. This is a strongly statically typed language that
runs on JVM. At Google I/O 2019, we announced that Android development will be
increasingly Kotlin-first, and we’ve stood by that commitment.
Kotlin is an open source programming language that combines object-oriented
programming and functional features into a unique platform.
4. What’s new in
Kotlin 1.8.0
● New experimental functions for JVM: recursively copy or delete directory content
● Improved kotlin-reflect performance
● New -Xdebug compiler option for better debugging experience
● kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 merged into kotlin-stdlib
● Improved Objective-C/Swift interoperability
● Kotlin Multiplatform
● Compatibility with Gradle 7.3
5. Kotlin/Native Kotlin 1.8.0 includes changes to Objective-C and Swift interoperability, support for Xcode
14.1, and improvements to the CocoaPods Gradle plugin:
● Support for Xcode 14.1
● Improved Objective-C/Swift interoperability
● Dynamic frameworks by default in the CocoaPods Gradle plugin
6. Kotlin
Multiplatform
Kotlin Multiplatform is in Beta. It is almost stable, but migration steps may be required in the
future. We’ll do our best to minimize any changes you have to make.
7. Android and
iOS
applications
Sharing code between mobile platforms is one of the major Kotlin Multiplatform use cases.
With Kotlin Multiplatform Mobile, you can build cross-platform mobile applications and share
common code between Android and iOS, such as business logic, connectivity, and more.
Check out the Get started with Kotlin Multiplatform Mobile and Create a multiplatform app
using Ktor and SQLDelight tutorials, where you will create applications for Android and iOS
that include a module with shared code for both platforms.
9. Code sharing
between
platforms
● Share code among all platforms used in your project. Use it for sharing the common
business logic that applies to all platforms.
● Share code among some platforms included in your project but not all. Do this when
you can reuse much of the code in similar platforms:
10. Few Things
Make Easy to
Use
Kotlin/Native
● Jetpack Componse
● Kotlin Coroutines
● Asynchronous Flow
● App Architecture
● Material Design
● Android KTX
● Safer code
11. Support for
Xcode 14.1
The Kotlin/Native compiler now supports the latest stable Xcode version, 14.1. The
compatibility improvements include the following changes:
● There’s a new watchosDeviceArm64 preset for the watchOS target that supports
Apple watchOS on ARM64 platforms.
● The Kotlin CocoaPods Gradle plugin no longer has bitcode embedding for Apple
frameworks by default.
● Platform libraries were updated to reflect the changes to Objective-C frameworks for
Apple targets.
12. Kotlin/JS Kotlin 1.8.0 stabilizes the JS IR compiler backend and brings new features to JavaScript-
related Gradle build scripts:
● Stable JS IR compiler backend
● New settings for reporting that yarn.lock has been updated
● Add test targets for browsers via Gradle properties
● New approach to adding CSS support to your project
13. - Compatibili
ty guide for
Kotlin 1.8.0
Kotlin 1.8.0 is a feature release and can, therefore, bring changes that are incompatible with
your code written for earlier versions of the language. Find the detailed list of these changes
in the Compatibility guide for Kotlin 1.8.0.