   }
 }
 
+extension TextFieldSwiftExample: UITextViewDelegate {
+  func textViewDidEndEditing(_ textView: UITextView) {
+    print(textView.text)
+  }
+}
+
 // MARK: - Keyboard Handling
 
 extension TextFieldSwiftExample {

    return phone
  }()

  var allTextFieldControllers = [MDCTextInputControllerDefault]()

  override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {

    phone.delegate = self
    allTextFieldControllers.append(phoneController)

    scrollView.addSubview(message)
    let messageController = MDCTextInputControllerDefault(textInput: message)
    message.textView?.delegate = self
    allTextFieldControllers.append(messageController)

    var tag = 0
    for controller in allTextFieldControllers {
      guard let textField = controller.textInput as? MDCTextField else { continue }
