touches(for:)
Returns the touch objects from the event that belong to the specified view.
Declaration
func touches(for view: NSView) -> Set<NSTouch>Parameters
- view:
The view in which the touches originally occurred.
Return Value
A set of NSTouch objects that correspond to the touches in the view.