delete(_:)
Removes the selected content from your interface.
Declaration
optional func delete(_ sender: Any?)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.