---
title: mutableString
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsmutableattributedstring/mutablestring
---

# mutableString

The character contents of the receiver as a mutable string object.

## Declaration

```swift
var mutableString: NSMutableString { get }
```

## Return Value

Return Value The mutable string object.

## Discussion

Discussion The receiver tracks changes to this string and keeps its attribute mappings up to date.

## See Also

### Related Documentation

- [Attributed String Programming Guide](apple-archive/documentation/Cocoa/Conceptual/AttributedStrings.md)
