FirstResponder in 10.4
FirstResponder in 10.4
- Subject: FirstResponder in 10.4
- From: iseecolors <email@hidden>
- Date: Mon, 22 Jun 2009 10:06:57 -0700
I have a NIB with a NSView that I use to populate a Contextual View in
the Main Window. I have tried to set the firstResponder from IB, from
init, from awakeFromNib, and from - (BOOL)control:(NSControl *)control
textShouldBeginEditing:(NSText *)fieldEditor
All of these work in 10.5 (+), but only that last works in 10.4.
Unfortunately the side effect of the last is that if the user clicks
on a different edit field and starts to type, the focus is on the
firstResponder instead of the field the user just clicked on.
I am sure I can continue to ________ with this, but it seems like
there must be a better way. It seems unlikely that 10.4 is this
messed up and it will not correctly set the firstResponder.
Any hints as to what I am missing?
Rich Collyer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden