TARUN SAINI
05/24/2024, 1:29 PMinterface ExampleInterface{
fun abs(value : Int)
}
Swift usage:
class Example: ExampleInterface{
func abs(value : KotlinInt?){
}
}
It is giving error: 'KotlinInt' is ambiguous for type lookup in this context
kotlin version: 1.7.20
swfit: swift 4
xcode: 15.3
How can I fix this.
ThanksPablichjenkov
05/24/2024, 1:31 PMtype
to pass?
It suggests Int32
to me. You can try swift Int
too.TARUN SAINI
05/24/2024, 1:35 PMType 'Example' does not conform to protocol 'ExampleInterface'
Michael Krussel
05/24/2024, 1:39 PMPablichjenkov
05/24/2024, 3:12 PMTARUN SAINI
05/27/2024, 12:14 PM