I am trying to check when a text field changes, equivalent too the function used for textView - textViewDidChange so far I have done this:
textViewDidChange
fu
Swift 3.0.1+ (Some of the other swift 3.0 answers are not up to date)
textField.addTarget(self, action: #selector(ViewController.textFieldDidChange(_:)), for: UIControlEvents.editingChanged) func textFieldDidChange(_ textField: UITextField) { }