Once ABI and Module stability land in swift, is th...
# kotlin-native
e
Once ABI and Module stability land in swift, is there any plan to use swift headers for iOS frameworks generated by native, or are they too dependent on Obj-C runtime features? Partly wondering because there isn’t really a great equivalent in ObjC to
enum class
and I want that
switch
functionality I could get in a swift
enum
s
use swift headers for iOS frameworks generated by native
We do not exclude this possibility.
there isn’t really a great equivalent in ObjC to
enum class
and I want that
switch
functionality I could get in a swift
enum
You may be interested: https://github.com/JetBrains/kotlin-native/issues/2521
e
Ah cool - I will admit I don’t have great suggestions for how to achieve this while still using Objc stuff, since Objc enums are only really supported if using integer types (
int32_t
or
NSInteger
for example).
But thank you for not excluding the possibility 😄