is there any way to enable nested generics? id rat...
# ios
m
is there any way to enable nested generics? id rather not pass an untyped array
j
Objective-C doesn't support generics for protocols (interfaces). See https://kotlinlang.org/docs/native-objc-interop.html#generics
😓 1
👍 1
You might consider using an abstract class instead of an interface.
🚫 1
👀 1
r
you can wrap list in a wrapper class
Copy code
data class Wrapper(val list: List<Int>)