Contents

selectAll(_:)

Selects all of the content in the current responder.

Declaration

optional func selectAll(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

UIKit calls this method when the user selects the Select All command from an editing menu. The command selects all content in the responder. For example, a text view selects all of its text and displays an appropriate selection interface.

See Also

Handling selection commands