textDidChange(_:)
Posts a notification when the text changes, and forwards the message to the text field’s cell if it responds.
Declaration
func textDidChange(_ notification: Notification)Parameters
- notification:
The Textdidchangenotification notification to post to the default notification center.
Discussion
This method causes the text field’s delegate to receive a controlTextDidChange: message. See the NSControl class specification for more information about the text delegate method.