I'm new to RxSwift. I need to ask how can I bind textField delegate methods using RxSwift like textFieldShouldReturn or textViewDidBeginEditing.
This will bind textfield delegate methods
textfield.rx.controlEvent([.EditingDidBegin]).asObservable().subscribe(on:{_ in
print("edit begin")
}).addDisposableTo(disposer)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With