---
title: textSelectionManager
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/textselectionmanager
---

# textSelectionManager

The text selection manager for this view.

## Declaration

```swift
var textSelectionManager: NSTextSelectionManager? { get set }
```

## Discussion

Discussion Setting this property installs gesture recognizers and configures the view to handle text selection interactions. Setting it to nil removes text selection support. The default value is nil.
