performKeyEquivalent(with:)
Performs the action for the menu item that corresponds to the given key equivalent.
Declaration
func performKeyEquivalent(with event: NSEvent) -> BoolParameters
- event:
An Nsevent object that represents a key-equivalent event.
Return Value
Returns true if event is a key equivalent that the menu should handle, otherwise returns false.