Session

Kotlwift : Android and iOS common code solution

We had some issues with actual existing multiplatform solutions like Flutter, React, KMM, ...

Our main issues was : Debugging, performance and memory management.

To solve those issues, I have built another way to do common code between Android and iOS.
The solution is a transpiler that transform Kotlin code to Swift code.
Solution is write in Kotlin

The solution is in 4 parts :

-> Some classes, extensions and annotations for Kotlin side.

-> Some hand made Swift classes and extensions for Swift (Things I don't manage to transpile)

-> A transpiler that transform Kotlin code to Swif code

-> A gradle plugin that :

=> Use the transpiler to transform the Kotlin code and unit tests to Swift code and unit tests

=> Validate the generated Swift code and launch the units tests transpiled in Swift to assure that produced Swift code have the same behavior as Kotlin one

Gérard Bourriaud

FeetMe Android developper technical leader

Paris, France

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top