darkmoon_uk
10/27/2020, 10:33 AMstruct -[ObjC-to-Kotlin]-> CValue<struct> -[Kotlin-to-ObjC]-> struct
☝️
🤔 Is this is gap in K/N interop? On iOS, I'm handling some Obj-C struct types in my business logic. These are represented in Kotlin-land as a CValue<MyStruct>
as per interop documentation.
Now I'm passing those values back to the UI layer, they comes back out of Kotlin code into Swift/Obj-C. At this point they are still seen as CValue<MyStruct>
with no apparent means, to retrieve/unwrap the original struct type from it... is this not possible?
The documentation is lacking when it comes to explaining how to bridge structs in this direction.
Slack Conversation