---
title: isEditable
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextinput/iseditable
---

# isEditable

A Boolean value that indicates whether the text view contains editable text.

## Declaration

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

## Discussion

Discussion Text views are normally editable, and the default value of this property is true if you don’t provide an implementation. When implementing a custom text view, you might implement this property and return false to prevent outside agents from modifying the content of your view. For example, you might disable editing to prevent the system’s writing tools panel from pasting content into your view.
