---
title: isSelectable
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfield/isselectable
---

# isSelectable

A Boolean value that determines whether the user can select the content of the text field.

## Declaration

```swift
var isSelectable: Bool { get set }
```

## Discussion

Discussion If true, the text field becomes selectable but not editable. Use isEditable to make the text field selectable and editable. If false, the text is neither editable nor selectable.

## See Also

### Controlling Selection and Editing

- [isEditable](appkit/nstextfield/iseditable.md)
