I have a little application with two views. What I don't understand is that I can't seemed to manage how I can manually assign the first responder status to a particular view.
I have this code in awakeFromNib method.
-(void)awakeFromNib{
NSView *a = [[firstView alloc]init];
NSView *b = [[secondVIew alloc]init];
[b becomeFirstResponder];
[a resignFirstResponder];
}
Why is this not working?