---
title: textSelectionMode
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextselectionmanager/textselectionmode
---

# textSelectionMode

The interaction mode for text selection.

## Declaration

```swift
var textSelectionMode: NSTextSelectionManager.Mode { get set }
```

## Discussion

Discussion Determines whether text is editable, selectable only, or non-interactive. The default value is NSTextSelectionModeEditable.
