On Fri, Mar 12, 2010 at 10:17 AM, David Blanton <aired...@tularosa.net> 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
makeFirstResponder:] calls that; you shouldn't call it yourself.

What are you trying to do?

> If a class subclasses NSResponder so it can get events how does one get an
> instance of this class in the responder chain?

Use -setNextResponder:. More info here:
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW2

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to