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

# textDidBeginEditing(_:)

Informs the delegate that the text object has begun editing (that the user has begun changing it).

## Declaration

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

## Discussion

Discussion The name of aNotification is didBeginEditingNotification.

## See Also

### Editing text

- [textShouldBeginEditing(_:)](appkit/nstextdelegate/textshouldbeginediting(_:).md)
- [textShouldEndEditing(_:)](appkit/nstextdelegate/textshouldendediting(_:).md)
- [textDidEndEditing(_:)](appkit/nstextdelegate/textdidendediting(_:).md)
