---
title: textStorage
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextview/textstorage
---

# textStorage

The text storage object holding the text that displays in the text view.

## Declaration

```swift
var textStorage: NSTextStorage { get }
```

## Discussion

Discussion This property is a convenience accessor that provides access through the text container.

## See Also

### Accessing TextKit Objects

- [textLayoutManager](uikit/uitextview/textlayoutmanager.md)
- [layoutManager](uikit/uitextview/layoutmanager.md)
- [textContainer](uikit/uitextview/textcontainer.md)
