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
textField.addTarget(self, action: #selector(ViewController.textFieldDidChange(sender:)), for: UIControlEvents.editingChanged)