UITextView data change swift
You need to set UITextView delegate and implement textViewDidChange: method in it. Unfortunately, I do not know if swift documentation is available online. All the links go to the objective-c documentation. The code will look like this: (updated for SWIFT 4.2) class ViewController: UIViewController, UITextViewDelegate { //If your class is not conforms to the UITextViewDelegate … Read more