Re: Setting the first responder
You have to override canBecomeFirstResponder and return YES
By default a view itself is not a firstResponder and returns NO to canBecomeFirstResponder. A textfield can be a firstresponder. A window by default can be a first responder.
See Cocoa Event-Handling Guide at Apple site.
|