Invoked when a key-down event or paste operation occurs that changes the receiver’s contents.
- macOS 10.0+
Text Did Change Notification
This method’s default behavior is to pass this message on to the selected cell (if the selected cell responds to
text) and then to post an
NSControl along with the receiving object to the default notification center. The posted notification’s user info contains the contents of notification’s user info dictionary, plus an additional key-value pair. The additional key is “
NSField”; the value for this key is the text object that changed.