We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I can't use this function on the IOS side, it gives an error: Instance method 'bindText(flow:)' requires that 'StringDesc' inherit from 'NSString'
Solution: In mmp-library / src I created iosMain and there a file with the extension
import dev.icerock.moko.mvvm.flow.CStateFlow import dev.icerock.moko.mvvm.flow.binding.bind import dev.icerock.moko.resources.desc.StringDesc import platform.UIKit.UILabel fun UILabel.bindFlow(flow: CStateFlow<StringDesc?>) = bind(flow) { if (it != null) { this.text = it.localized() } }
The text was updated successfully, but these errors were encountered:
@masimfacebook2 please create this issue in moko-mvvm. this one will be closed
binding functions is moko-mvvm-flow: https://github.com/icerockdev/moko-mvvm/tree/master/mvvm-flow/src/iosMain/kotlin/dev/icerock/moko/mvvm/flow/binding
Sorry, something went wrong.
No branches or pull requests
I can't use this function on the IOS side, it gives an error:
Instance method 'bindText(flow:)' requires that 'StringDesc' inherit from 'NSString'
Solution:
In mmp-library / src I created iosMain and there a file with the extension
The text was updated successfully, but these errors were encountered: