---
title: textDidBeginEditingNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uitextfield/textdidbegineditingnotification
---

# textDidBeginEditingNotification

A notification that alerts observers when an editing session begins in a text field.

## Declaration

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

## Discussion

Discussion The affected text field is stored in the object parameter of the notification. The userInfo dictionary is not used.

## See Also

### Managing the editing behavior

- [isEditing](uikit/uitextfield/isediting.md)
- [clearsOnBeginEditing](uikit/uitextfield/clearsonbeginediting.md)
- [clearsOnInsertion](uikit/uitextfield/clearsoninsertion.md)
- [allowsEditingTextAttributes](uikit/uitextfield/allowseditingtextattributes.md)
- [UITextField.DidEndEditingReason](uikit/uitextfield/didendeditingreason.md)
- [didEndEditingReasonUserInfoKey](uikit/uitextfield/didendeditingreasonuserinfokey.md)
- [textDidChangeNotification](uikit/uitextfield/textdidchangenotification.md)
- [textDidEndEditingNotification](uikit/uitextfield/textdidendeditingnotification.md)
