<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextInput/isEditable",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITextInput(py)editable"
  },
  "title" : "isEditable"
}
-->

# isEditable

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

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

## Discussion

Text views are normally editable, and the default value of this property is <doc://com.apple.documentation/documentation/Swift/true> if you don’t provide an implementation. When implementing a custom text view, you might implement this property and return <doc://com.apple.documentation/documentation/Swift/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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)