---
title: textDidBeginEditingNotification
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nscontrol/textdidbegineditingnotification
---

# textDidBeginEditingNotification

Sent when a control with editable cells begins an edit session.

## Declaration

```swift
class let textDidBeginEditingNotification: NSNotification.Name
```

## Discussion

Discussion The field editor of the edited cell originally sends an didBeginEditingNotification to the control, which passes it on in this form to its delegate. The notification object is the NSControl object posting the notification. The userInfo dictionary contains the following information:  |   |  See the controlTextDidEndEditing: method for details. The system posts this notification on the main actor. To observe this notification using Swift concurrency, use NSControl.TextDidBeginEditingMessage.

## See Also

### Control-Editing Notifications

- [textDidChangeNotification](appkit/nscontrol/textdidchangenotification.md)
- [textDidEndEditingNotification](appkit/nscontrol/textdidendeditingnotification.md)
