Instance Method

handle(_:client:)

Handles key down and mouse events.

Declaration

func handle(_ event: NSEvent!, client sender: Any!) -> Bool

Parameters

event

The event to handle.

sender

The client object sending the event.

Return Value

true if the event is handled; otherwise false.