I\'m trying to show changes made to a UITextField on a separate UILabel. Is there a way to capture full text of the UITextField after
UITextField
UILabel
Swift 3.0+: This worked very nicely for me.
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { self.yourLabel.text = "\(textField.text ?? "")\(string)" return true }