---
title: NSTextStorageObserving
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nstextstorageobserving
---

# NSTextStorageObserving

Optional methods that delegates implement to handle editing and transaction processing.

## Declaration

```swift
protocol NSTextStorageObserving : NSObjectProtocol
```

## Topics

### Accessing the text storage

- [textStorage](appkit/nstextstorageobserving/textstorage.md)

### Managing the editing process

- [performEditingTransaction(for:using:)](appkit/nstextstorageobserving/performeditingtransaction(for:using:).md)
- [processEditing(for:edited:range:changeInLength:invalidatedRange:)](appkit/nstextstorageobserving/processediting(for:edited:range:changeinlength:invalidatedrange:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Conforming Types

- [NSTextContentStorage](appkit/nstextcontentstorage.md)

## See Also

### Accessing the storage controller

- [textStorageObserver](appkit/nstextstorage/textstorageobserver.md)
