Could someone help me with a Swift - Kotlin Interop issue in a KMP project? It involves Swift - Kotlin Interop between NSMutableArray(Swift) and ArrayList(Kotlin)
I am having a function “sampleFuncForStringArrayList(names: ArrayList<String>)” in KMP module which prints its count and iterates and prints ArrayList items.
When I call this function from the iOS sample app. I am getting index out of bound exception
Because NSMutableArray count which is 2 in iOS app environment, has count as 24576 when received as ArrayList in KMP module.
Slack Conversation