Join Slack
Powered by
I want to export a Kotlin class to Objective/C, bu...
# 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?
hfhbd
05/30/2022, 6:41 PM
Filled
https://youtrack.jetbrains.com/issue/KT-52579
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!
Open in Slack
Previous
Next