text changed delegate
christianampe opened this issue · comments
this method exposes the pre-shouldChangeCharactersIn text result instead of the value after the textField has been updated
fixed by utilizing an observer
textField.addTarget(self, action: #selector(textFieldDidChange(_:)), for: UIControlEvents.editingChanged)