---
title: "textDidChange(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstextdelegate/textdidchange(_:)"
---

# textDidChange(_:)

Informs the delegate that the text object has changed its characters or formatting attributes.

## Declaration

```swift
@MainActor optional func textDidChange(_ notification: Notification)
```

## Discussion

Discussion The name of aNotification is didChangeNotification.
