<@U8SHU4L9K> <@U8M9JQH46> It is partially possibl...
# kotlin-native
s
@rootandy @Jacob It is partially possible, because Objective-C supports “lightweight generics”. But only for classes, not protocols. So we consider mapping type parameters of Kotlin classes to Objective-C generics as a possible feature, but are not working on it right now.
👍 6
s
That would be a super important addition in my use cases, especially if you use a K/N
.framework
from swift
Because, as of now, specialized arrays in K/N become non-typed arrays in Swift
s
Actually, exposing type of collection elements is much simpler than translating type parameters of arbitrary Kotlin class. We are working right now on more precise array types, among with supporting seamless passing of other Kotlin standard collections.
👍 1