Contents

cut(_:)

This action method deletes the selected text and places it onto the general pasteboard, in as many formats as the receiver supports.

Declaration

func cut(_ sender: Any?)

Discussion

A plain text object uses NSStringPboardType for plain text, and a rich text object also uses NSRTFPboardType.

See Also

Action methods for editing