hi all! we at IceRock release new gradle plugin fo...
# kotlin-native
a
hi all! we at IceRock release new gradle plugin for KMM - MOKO KSwift. With this plugin you can generate Swift-friendly API for Kotlin/Native framework. See examples in readme, in sample project and also you can read post on medium. Also you can extend logic of plugin inside your project - implement own generators of Swift code. Feel free to give feedback - here in thread or on github issues.
👍 5
🦜 4
swift 7
K 13
🙌 1
a
Nice! Some potential other generators: • exhaustive whens/switches for Kotlin enums (either via a generated extension with blocks for every case, or maybe something like this) • support for default arguments in swift, either via generated overloads or maybe generating a Swift extension with default arguments that just delegates to the right Kotlin method
a
thank! i will add this suggestions to issues on github