Kotlin/Native enables you to consume C and Objective-C libraries, allowing you to use their functionality in Kotlin. A special tool called cinterop takes a C or an Objective-C library and generates ...
Support for multiplatform programming is one of Kotlin's key benefits. It reduces time spent writing and maintaining the same code for different platforms while retaining the flexibility and benefits ...
Kotlin JavaScript wrappers for the DOM API.
Two most popular IDEs for Kotlin - IntelliJ IDEA and Android Studio provide powerful support for code styling. You can configure them to automatically format your code in consistence with the given ...
A collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key. Map keys are unique; the map holds only one value for each key.
This package provides utilities for efficiently testing coroutines.
The official Kotlin website is a great place to start. Read the official documentation to get a better understanding of the language. Take a look at the Kotlin courses on JetBrains Academy or the ...
The C libraries import is Experimental. All Kotlin declarations generated by the cinterop tool from C libraries should have the @ExperimentalForeignApi annotation. Native platform libraries shipped ...
Each release of Kotlin includes compilers for the supported targets: JVM, JavaScript, and native binaries for supported platforms. These compilers are used by: The IDE, when you click the Compile or ...
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.
Sealed classes and interfaces provide controlled inheritance of your class hierarchies. All direct subclasses of a sealed class are known at compile time. No other subclasses may appear outside the ...