views:

39

answers:

1

How can I know when an NSTextField has rec'd focus?

Is there a delegate method that will tell me when the user has clicked the mouse in (or otherwise selected) my NSTextField?

thanks

tom

+1  A: 

Subclass NSTextField and override -becomeFirstResponder.

Mike Abdullah
Thanks Mike -- I was hoping/guessing that the NSTextField might send out a notification when it became the first responder.
TomH