Hi everyone, I'm working on an android/ios project...
# multiplatform
c
Hi everyone, I'm working on an android/ios project. I didn't used mpp in the last few months, so I'm not aware of the state of the art. Is there any way to use generics on kotlin and have them recognized in swift? I remember a draft from kpgalligan about that but I don't know if that's actually implemented in the latest k/n release
j
Yes. Everything is described in the online documentation https://kotlinlang.org/docs/reference/native/objc_interop.html#generics
🙏 1
c
any idea on how one should use list/arrays? Arrays are translated to KotlinArray which are not iterable (I can create an extension to create an NSArray, but that would be strange). List/ArrayList are translated to NSArray which are not typed