statement with Kotlin/Native enums in Objective-C. I’m getting the error
Statement requires expression of integer type ('NtvCoreRateType *' invalid)
. It seems that Kotlin enum classes don’t get converted into proper enums in objective-C, so I’m wondering if its at all possible to do a switch statement with them? And if not, what is the expected way to compare them?
n
Nikolay Kasyanov
06/22/2022, 9:01 AM
In Swift it’s sorta possible to switch over enum classes (albeit it won’t be exhaustive, requiring a