Contents

touchesMoved(with:)

Informs the receiver that one or more touches has moved.

Declaration

func touchesMoved(with event: NSEvent)

Parameters

  • event:

    An event object representing a touch movement.

Discussion

The system sends the to the view under the touch in the key window. To get the set of touches that moved for this view (or descendants of this view) call touches(matching:in:) on event and pass moved for the phase.

See Also

Touch and Gesture Events