This function is available only from the Kotlin side. But, I think that one can wrap it, and call the wrapper from the Swift/Obj-C whenever it’s needed.
a
andreasmattsson
11/26/2019, 2:04 PM
@Artyom Degtyarev [JB] thanks I'll give it a try. Do you know if it will work with ObjC/Swift generics so I can create only one wrapper, or will I have to create one for each enum impl I want to be able to enumerate from the Swift side?
andreasmattsson
11/26/2019, 2:08 PM
Hrm... actually probably won't work with a common method as enumValues requires a reified generic I guess..