I'm using https://github.com/DeclarativeHub/Bond library for binding operations. I have an UIControl class which is a checkbox. It has a proper called isChecked
. I want to bind a boolean value to this property. However, I'm getting
Cannot invoke 'bind' with an argument list of type '(to: Bool)'
error when trying to bind it. How can I achieve this?
viewModel.isDone.map { $0 }.bind(to: containerView.doneCheckBox.reactive.base.isSelected)