Contents

handleEvent(_:)

Tells the Cocoa text input system to handle mouse or key events.

Declaration

func handleEvent(_ event: NSEvent) -> Bool

Parameters

  • event:

    The event to handle.

Return Value

true if the system consumed the event; otherwise false.

See Also

Handling Input Sources