How long a delay did you give performSelector?
This is working for me now on 10.8 (and a new MBP) without needing
performSelector, but on 10.7 with an old MBP, I had to use a delay of
animationResizeTime + 0.5 seconds. I haven't yet tested other combinations of
MBP age and OS version.
On 2012-
Run into a bug where if I have a number of NSTextFields in a window, and
programatically switch the first responder of the window among these fields, it
works fine, but if there is a NSTabView interposed between the fields and the
window, they just cannot be set to be first responder programatic