Title: cancelTouchesInView equivalent for NSGestureRecognizer
Tags: macos;gesture
Question: UIGestureRecognizer has ```cancelTouchesInView``` flag, so if this flag is set to false, the view or its subview will still get tap events. 

Is there any equivalent for NSGestureRecognizer (in particular NSClickGestureRecognizer)?

Comment: How about subclass and implement [`canPrevent`](https://developer.apple.com/documentation/appkit/nsgesturerecognizer/1534503-canprevent) and then return `true`?

Comment: Or implement delegate method [`gestureRecognizer(_:shouldRecognizeSimultaneouslyWith:)`](https://developer.apple.com/documentation/appkit/nsgesturerecognizerdelegate/1529773-gesturerecognizer)?



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2018:00:07/22/18', 'FavoriteCount': 1.0, 'PostTypeId': 1, 'Tags': '<macos><gesture>', 'Title': 'cancelTouchesInView equivalent for NSGestureRecognizer', 'ViewCount': 123, 'id': 51468967, 'user_AboutMe': '<p>Independent software developer interested in intelligent games.</p>\n', 'user_AccountId': 2593268.0, 'user_DisplayName': 'cyanide', 'user_Reputation': 3731.0, 'user_Views': 323.0, 'user_id': 2247459.0}}