---
title: attributedString()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsglyphstorage/attributedstring()
---

# attributedString()

Returns the text storage object from which the NSGlyphGenerator object procures characters for glyph generation.

## Declaration

```swift
func attributedString() -> NSAttributedString
```

## Return Value

Return Value The receiver’s text storage object.

## See Also

### Related Documentation

- [NSGlyphGenerator](appkit/nsglyphgenerator.md)
