cut(_:)
An action method that deletes selected content and puts it on the general pasteboard.
Declaration
func cut(_ sender: Any?)Parameters
- sender:
The object that sent this message.
Discussion
This action method deletes the selected content and places it onto the general pasteboard, in as many formats as the receiver supports. For example, a plain text object uses NSStringPboardType for plain text, and a rich text object also uses NSRTFPboardType.