Simonas Brazauskas
07/30/2021, 1:10 PMabstract class KotlinAbstractClass : KotlinInterface {
}
interface KotlinInterface {
fun testFunction()
}
//Swift code
class SwiftClass : KotlinAbstractClass {
}
XCode compiles SwiftClass
successfully, but then fails with an exception at runtime if someone tries to call SwiftClass::testFunction
.
Is this a bug or works as intended? We are having some issues with ios devs, as sometimes they forget to implement all interface methods, which results in crashes. Also it would cause issues, when additional methods in interfaces are added.rnett
07/31/2021, 12:07 AMNicklas Jensen
08/03/2021, 8:58 AM