Swift: Can't access bindTextTwoWay Extension Functions for Live Data
TheArchitect123 opened this issue · comments
TheArchitect123 commented
I'm trying to bind UITextField into bindTextTwoWay and bind for LIveData objects in my viewmodel classes on the shared library.
Even though I have exported the LIve data dependencies, I can't seem to access the bindTextTwoWay extensions on Swift.
I've integrated k-swift and no extensions are available.
targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget::class.java).all {
binaries.withType(org.jetbrains.kotlin.gradle.plugin.mpp.Framework::class.java).all {
export("dev.icerock.moko:mvvm-core:0.16.1")
export("dev.icerock.moko:mvvm-livedata:0.16.1")
export("dev.icerock.moko:mvvm-livedata-resources:0.16.1")
export("dev.icerock.moko:mvvm-state:0.16.1")
export("dev.icerock.moko:mvvm-flow:0.16.1") // api mvvm-core, CFlow for native and binding extensions
export("dev.icerock.moko:mvvm-flow-resources:0.16.1")
}
}
TheArchitect123 commented
@Alex009 @darronschall @YokiToki
Any help would be appreciated. Thanks