Changing checkbox toggle state
[permalink]
[myCheckbox setState: NSOffState]
NSOnState also works.
Respond to every keystroke in a textfield
[permalink]
Make your object a delegate of the textfield, and add this NSControl delegate method:
- (void) controlTextDidChange: (NSNotification *) notification
{
// do work here, like count the characters or something
} // controlTextDidBeginEditing