---
title: textContentManager
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextlayoutmanager/textcontentmanager
---

# textContentManager

Returns the text content manager associated with this text layout manager.

## Declaration

```swift
weak var textContentManager: NSTextContentManager? { get }
```

## See Also

### Accessing the text storage

- [textContainer](appkit/nstextlayoutmanager/textcontainer.md)
- [textSelectionNavigation](appkit/nstextlayoutmanager/textselectionnavigation.md)
- [textSelections](appkit/nstextlayoutmanager/textselections.md)
- [usageBoundsForTextContainer](appkit/nstextlayoutmanager/usageboundsfortextcontainer.md)
- [enumerateTextSegments(in:type:options:using:)](appkit/nstextlayoutmanager/enumeratetextsegments(in:type:options:using:).md)
- [replace(_:)](appkit/nstextlayoutmanager/replace(_:).md)
- [replaceContents(in:with:)](appkit/nstextlayoutmanager/replacecontents(in:with:)-2elb.md)
- [replaceContents(in:with:)](appkit/nstextlayoutmanager/replacecontents(in:with:)-80j0b.md)
