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
Discovered this while trying to select subsequent text field during textFieldShouldReturn.
I think this is an issue in Bond as well, I saw it there first.
import UIKit
import ReactiveUIKit
classViewController:UIViewController{@IBOutlet weak vartextField1:UITextField!@IBOutlet weak vartextField2:UITextField!overridefunc viewDidLoad(){
super.viewDidLoad()
textField1.delegate =self
textField2.delegate =self
// by observing textField2 we can't make it first responder when
// textField1 should return.
textField2.rText.observe{ text inprint(text)}}}extensionViewController:UITextFieldDelegate{func textFieldShouldReturn(textField:UITextField)->Bool{if textField == textField1 {
textField2.becomeFirstResponder()}returntrue}}
The text was updated successfully, but these errors were encountered:
I am experiencing this exact same issue when attempting to bind an Observable to a UITextfield. A textfield that has had an Observable bound to it will not become the first responder.
Discovered this while trying to select subsequent text field during textFieldShouldReturn.
I think this is an issue in Bond as well, I saw it there first.
The text was updated successfully, but these errors were encountered: