---
title: gestureRecognizers
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/gesturerecognizers
---

# gestureRecognizers

The gesture recognize objects currently attached to the view.

## Declaration

```swift
var gestureRecognizers: [NSGestureRecognizer] { get set }
```

## Discussion

Discussion The objects in the array are concrete implementations of the NSGestureRecognizer class. If the view has no attached gesture recognizers, the array is empty.

## See Also

### Managing Gesture Recognizers

- [addGestureRecognizer(_:)](appkit/nsview/addgesturerecognizer(_:).md)
- [removeGestureRecognizer(_:)](appkit/nsview/removegesturerecognizer(_:).md)
