Contents

changeMode(with:)

Informs the responder that performed a double-tap on the side of an Apple Pencil.

Declaration

func changeMode(with event: NSEvent)

Parameters

  • event:

    An object encapsulating information about the change-mode event.

Discussion

The default implementation passes the event to the next responder.

See Also

Responding to Other Kinds of Events