---
title: attributeRuns
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextstorage/attributeruns
---

# attributeRuns

The text storage contents as an array of attribute runs.

## Declaration

```swift
var attributeRuns: [NSTextStorage] { get set }
```

## Discussion

Discussion Unless you’re dealing with scriptability, you shouldn’t use or modify this property directly.

## See Also

### Accessing scriptable properties

- [paragraphs](appkit/nstextstorage/paragraphs.md)
- [words](appkit/nstextstorage/words.md)
- [characters](appkit/nstextstorage/characters.md)
- [font](appkit/nstextstorage/font.md)
- [foregroundColor](appkit/nstextstorage/foregroundcolor.md)
