hi there <https://kotlinlang.org/docs/reference/na...
# kotlin-native
m
hi there https://kotlinlang.org/docs/reference/native/objc_interop.html doc says Unit should be mapped into Void in Swift but when I am using closures in kotlin like
(String)-> Unit
it messes in Swift files into
KotlinUnit
object. Can I deal with this in more elegant way?
g
Not sure about Swift, but you cannot do this even in JVM, because Kotlin Function interface is generic, and it cannot be just replaced with Void
j