view
The view to which the gesture recognizer is attached.
Declaration
var view: NSView? { get }Discussion
To attach a gesture recognizer to a view, call the addGestureRecognizer(_:) method of the view. If the gesture recognizer is not attached to a view, the value in this property is nil.