Storage for values or objects related to this notification.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Xcode 8.0+
The user information dictionary stores any additional objects that objects receiving the notification might use.
For example, in AppKit,
NSControl objects post the
text whenever the field editor (an
NSText object) changes text inside the
NSControl. This notification provides the
NSControl object as the notification's associated object. In order to provide access to the field editor, the
NSControl object posting the notification adds the field editor to the notification's user information dictionary. Objects receiving the notification can access the field editor and the
NSControl object posting the notification as follows: