Contents

textViewDidEndEditing(_:)

Tells the delegate when editing of the specified text view ends.

Declaration

optional func textViewDidEndEditing(_ textView: UITextView)

Parameters

  • textView:

    The text view in which editing ended.

Discussion

Implementation of this method is optional. A text view sends this message to its delegate after it closes out any pending edits and resigns its first responder status. You can use this method to tear down any data structures or change any state information that you set when editing began.

See Also

Responding to editing notifications