---
title: isEditable
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstext/iseditable
---

# isEditable

A Boolean that controls whether the receiver allows the user to edit its text.

## Declaration

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

## Discussion

Discussion If flag is true, the receiver allows the user to edit text and attributes; if flag is false, it doesn’t. You can change the receiver’s text programmatically regardless of this setting. If the receiver is made editable, it’s also made selectable. NSText objects are by default editable.

## See Also

### Setting behavioral attributes

- [isSelectable](appkit/nstext/isselectable.md)
- [isFieldEditor](appkit/nstext/isfieldeditor.md)
- [isRichText](appkit/nstext/isrichtext.md)
- [importsGraphics](appkit/nstext/importsgraphics.md)
