https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
k

krzysztof

05/07/2021, 3:18 PM
Does anyone know how to properly override Obj-C delegate, where some its
open
functions have the same signature?
r

russhwolf

05/07/2021, 4:25 PM
Kotlin/Native should correctly disambiguate them by parameter name
k

krzysztof

05/07/2021, 4:26 PM
I’ve added a
@Suppress("CONFLICTING_OVERLOADS")
to suppress warnings, but I assume K/N will do the job, right?
r

russhwolf

05/07/2021, 4:26 PM
Oh yeah you might need to explicitly suppress that
I haven't had to do this in a little while
so yeah, add the suppression and you should be fine
k

krzysztof

05/07/2021, 4:28 PM
sounds good, thanks Russell
👍 1
2 Views