How do you get a signal from both user-initiated and programmatically made changes to UITextField text property? By using continuousTextValues only reports a signal when the user has initiated the change. If you set textField.text programmatically, the signal doesn't fire.
This is how I'm using continuousTextValues:
textField.reactive.continuousTextValues.observeValues { value in
print("Value: \(value)")
}
It doesn't get triggered if I set text manually:
textField.text = "Test"
The signal
continuousTextValueswill only be triggered while user input using the keyboard.You could try this: