---
title: attributedString
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstypesetter/attributedstring
---

# attributedString

Returns the text backing store, usually an instance of NSTextStorage.

## Declaration

```swift
unowned(unsafe) var attributedString: NSAttributedString? { get set }
```

## Return Value

Return Value The text backing store.

## See Also

### Accessing paragraph typesetting information

- [currentParagraphStyle](appkit/nstypesetter/currentparagraphstyle.md)
- [setParagraphGlyphRange(_:separatorGlyphRange:)](appkit/nstypesetter/setparagraphglyphrange(_:separatorglyphrange:).md)
- [paragraphGlyphRange](appkit/nstypesetter/paragraphglyphrange.md)
- [paragraphSeparatorGlyphRange](appkit/nstypesetter/paragraphseparatorglyphrange.md)
- [paragraphCharacterRange](appkit/nstypesetter/paragraphcharacterrange.md)
- [paragraphSeparatorCharacterRange](appkit/nstypesetter/paragraphseparatorcharacterrange.md)
- [attributesForExtraLineFragment](appkit/nstypesetter/attributesforextralinefragment.md)
