ivan.savytskyi
08/22/2019, 7:59 PMclass MyFooModule : NSObject(), FooModuleProtocol {
. But this information is erased @interface MyFooModule : KotlinBase
in the result generated header file. How to make header file to look like this @interface MyFooModule : KotlinBase <FooModule>
?Kris Wong
08/22/2019, 8:03 PMKris Wong
08/22/2019, 8:04 PMKris Wong
08/22/2019, 8:06 PMivan.savytskyi
08/22/2019, 8:09 PMNSObject
only but if it implements some protocol and inherited from NSObject I don't get this unavailable
attribute. The issue is that protocol is erased from the generated header.Sam
08/22/2019, 9:06 PMfreeCompilerArgs.add("-Xobjc-generics")
to your framework declaration in your gradle script. Beware that Kotlin, ObjC & Swift all have different ideas about generics. There will be some use cases that aren't possible to implement easily or at all.Kris Wong
08/22/2019, 9:07 PMSam
08/22/2019, 9:11 PM