Re: NSResponder / acceptsFirstResponder

2010-03-13 Thread Eric Gorr
On Mar 12, 2010, at 1:17 PM, David Blanton wrote: > How does one get a views acceptsFirstResponder method called without having > to click on the view? You may be looking for -makeFirstResponder: in the NSWindow class. -acceptsFirstResponder should be called automatically... If not, you'll ne

Re: NSResponder / acceptsFirstResponder

2010-03-12 Thread Kyle Sluder
On Fri, Mar 12, 2010 at 10:17 AM, David Blanton wrote: > How does one get a views acceptFirstResponder method called without having > to click on the view? -acceptsFirstResponder should just return YES or NO based on the current state. Are you referring to -becomeFirstResponder? -[NSWindow makeFi

NSResponder / acceptsFirstResponder

2010-03-12 Thread David Blanton
How does one get a views acceptFirstResponder method called without having to click on the view? If a class subclasses NSResponder so it can get events how does one get an instance of this class in the responder chain? -db ___ Cocoa-dev mailing l