I want to observe the property UITextfield.editing. I\'m using this code:
UITextfield.editing
self.money.rx_observe(Bool.self, \"editing\").subscribeNext { (value) in
For RXSwift 3.0
textField.rx.controlEvent([.editingDidBegin,.editingDidEnd]) .asObservable() .subscribe(onNext: { print("editing state changed") }).disposed(by: disposeBag)