Sterling Albury
01/19/2024, 7:15 PMSterling Albury
01/20/2024, 12:07 AMnative.cocoapods
plugin for cocoapods and not kmmbridge. I'll try out the kmmbridge cocoapods soon to check if I can implement the interface with that packagingSterling Albury
01/20/2024, 12:48 AMdata class
. for example, I have
data class Foo(val name: String)
interface Bar {
fun getBar(foo: Foo)
}
and when I try to implement this interface in swift when using kmmbridge, I get the error about not conforming to the protocol. If I change the parameter type or remove the function, then things work as expected. And like I mentioned, if I use cocoapods to package the kotlin code, then I am able to use data classes as function parameter types. Is this a bug or is there a workaround?Sterling Albury
01/20/2024, 1:21 AMdata class
to just a class
, I still see the issueSterling Albury
01/20/2024, 3:04 AM