https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
h

hfhbd

05/30/2022, 5:45 PM
I want to export a Kotlin class to Objective/C, but the generated KotlinBase interface does not contains the default functions from `kotlin.Any`:
toString()
,
hashcode
,
equals
. Do I miss something?
r

Rick Clephas

05/31/2022, 5:41 AM
If I am not mistaken these are mapped to the ObjC equivalent methods/propterties on NSObject (
description
,
hashValue
and
isEqual
).
🚀 1
h

hfhbd

05/31/2022, 1:26 PM
Oh, you are right, thanks!