<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextContentStorageDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSTextContentStorageDelegate"
  },
  "title" : "NSTextContentStorageDelegate"
}
-->

# NSTextContentStorageDelegate

The optional methods that delegates of content storage objects implement to handle content processing.

```
protocol NSTextContentStorageDelegate : NSTextContentManagerDelegate
```

## Overview

The optional methods that delegates of content storage objects implement to handle content processing.

## Topics

### Working with paragraphs

[`func textContentStorage(NSTextContentStorage, textParagraphWith: NSRange) -> NSTextParagraph?`](/documentation/AppKit/NSTextContentStorageDelegate/textContentStorage(_:textParagraphWith:))

Returns a custom `NSTextParagraph` for the specified range in the content storage’s attributed string.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSTextContentManagerDelegate`](/documentation/AppKit/NSTextContentManagerDelegate)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)