Is it possible for a Swift enum to implement an in...
# multiplatform
b
Is it possible for a Swift enum to implement an interface defined in a KMP library? when trying to do it, I get an error in Xcode:
Non-class type 'MyEnum' cannot conform to class protocol 'MyKotlinInterface'
Something I’m doing wrong, or just can’t do it?
s
I haven't had any luck with using interfaces, maybe others have had a different experience with them.
u
I suppose, kmp only knows about classes, not value types.