Hi, anyone has issues with enum in kotlin? We have...
# ios
h
Hi, anyone has issues with enum in kotlin? We have some enum class defined in kotlin like this
Copy code
enum class AdFormat {
    BANNER,
    NATIVE,
}
However, if we try to access it in swift by
AdFormat.banner
or
.banner
or even
shared.AdFormat.banner
, the compile is fine, but the app crashes immediately with ‘Thread 1: EXC_BAD_ACCESS (code=1, address=0xa8)’ trying to execute this line