Respond to every keystroke in a textfield (NSControl->General)
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