I have been trying to push a limited experiment of KMM in my company and I'm getting some pushback from iOS team that KMM uses objective-C under the hood which has limited support of generics. Is this true? If not where can I find documentation...
m
Marc Knaup
01/13/2021, 11:09 AM
That’s correct.
See https://kotlinlang.org/docs/reference/native/objc_interop.html
The fact that Swift isn’t properly supported is one reason I’m not using it myself. I’ve started writing plenty of Swift-wrappers around my shared Kotlin code which just added a lot of work.
👍 1
☝️ 1
l
Lefko
01/13/2021, 11:11 AM
Thanks @Marc Knaup
y
Yev Kanivets
01/13/2021, 12:07 PM
Well, generics are supported, but support is limited, so you need to get used to it.