Returns all the
NSTouch objects associated with a specific phase.
- macOS 10.6+
The touch phase for which you want touches.
The view for which touches are wanted. Touches that target this view, or any of the view’s descendants will be returned. Passing
nilas the view gets all touches regardless of their targeted view.
A set of applicable
This method is only valid for gesture events (gesture, magnify, swipe, rotate, etc.). Using this method a view can get all of the touches associated with a gesture without overriding the individual touch responder methods.