Input predictable - iOS
With iOS, be careful when using UITextFieldDelegate
methods. Do not trigger a change of context when text changes.
extension ApptViewController: UITextFieldDelegate {
func textField(_ textField: UITextField,
shouldChangeCharactersIn range: NSRange,
replacementString string: String) -> Bool {
// Do not change context
return true
}
}