<!--
{
  "availability" : [
    "macOS: 15.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWritingToolsCoordinator/delegate-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWritingToolsCoordinator(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

The object that handles Writing Tools interactions for your view.

```
weak var delegate: (any NSWritingToolsCoordinator.Delegate)? { get }
```

## Discussion

Specify this object at initialization time when creating your `NSWritingToolsCoordinator`
object. The object must adopt the [`NSWritingToolsCoordinator.Delegate`](/documentation/AppKit/NSWritingToolsCoordinator/Delegate-swift.protocol)
protocol, and be capable of modifying your view’s text storage and
refreshing the view’s layout and appearance.

---

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)