Instance Method

delete:

Removes the selected content from your interface.

Declaration

- (void)delete:(id)sender;

Parameters

sender

The object calling this method.

Discussion

UIKit calls this method when the user selects the Delete command from an editing menu. Your implementation should remove the selected content from your interface.

See Also

Handling Copy, Cut, Paste, and Delete Commands

- cut:

Removes the selected content and writes the data for it to the pasteboard.

- copy:

Copies the selected content to the pasteboard.

- paste:

Pastes the current contents of the pasteboard into your app's interface.