To what maps in Obj-C `abstract class`? Can't find...
# kotlin-native
t
To what maps in Obj-C
abstract class
? Can't find it in
OBJC_INTEROP.md
s
ObjC doesn't have the concept of abstract classes.
t
Then it will be protocol with default methods implementation?
s
In my test, it created a header entry in the framework header for my class but ignored the abstract function. That is consistent with suspending functions too.
s
abstract
functions aren’t ignored, they are just omitted in some cases, e.g. when inherited from super classes, so this doesn’t prevent you from calling them.
abstract class
is mapped to Objective-C class.