Contents

allTouches()

Returns all touch objects associated with the event.

Declaration

func allTouches() -> Set<NSTouch>

Return Value

A set of NSTouch objects that correspond to the touches of this event.

Discussion

If the touches originate in different views or windows, each NSTouch object may have a different responder object.

See Also

Getting gesture and touch information