delete(_:) This action method deletes the selected text. Declarationfunc delete(_ sender: Any?) See AlsoAction methods for editingselectAll(_:)copy(_:)cut(_:)paste(_:)copyFont(_:)pasteFont(_:)copyRuler(_:)pasteRuler(_:)