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.