Scenario:
The user enters a date in NSDatePicker
in their text form without a step (in OS X), and when they click on return on the keyboard, I want the message to be sent to the controller.
In NSTextField
I would simply pick up an action in Interface Builder or install it from the code, and when the user enters the input field, a message about the action will be sent to the target.
The date picker allows you to set an action message and a goal, but I cannot start the action. When I press enter in the date picker, the action message is not called.
Am I doing something wrong or is there a workaround that I should use? I would not negatively subclass any of the classes involved, if that is what is required.
source share