You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, im using Action for downloading file from server. I bind button tap events to action like this downloadAction.bindingTarget <~ button.reactive.controlEvents(.touchUpInside) Also Im able to stop this download. Binding target created like this
public var bindingTarget: BindingTarget<Input> {
return BindingTarget(lifetime: lifetime) { [weak self] in self?.apply($0).start() }
}
If im manually call downloadAction.apply() method I could store disposable and dispose it when I need to cancel download. How could I do this using binding target approach?
The text was updated successfully, but these errors were encountered:
Hello, im using Action for downloading file from server. I bind button tap events to action like this
downloadAction.bindingTarget <~ button.reactive.controlEvents(.touchUpInside)
Also Im able to stop this download. Binding target created like thisIf im manually call downloadAction.apply() method I could store disposable and dispose it when I need to cancel download. How could I do this using binding target approach?
The text was updated successfully, but these errors were encountered: