Re: Question regarding menus and document based app.
Re: Question regarding menus and document based app.
- Subject: Re: Question regarding menus and document based app.
- From: "Paul F." <email@hidden>
- Date: Sun, 10 Aug 2003 20:22:51 -0400
Thanks. I guess intuitively it seemed that the first responder was the
best way, but the documentation always talked about keyboard events and
then there was the issue of the selector not showing up.
FWI understand that's how you should do it (using the first
responder). What you need to do is select First Responder in the
*classes* tab in the nib, and add your action to the class using the
Inspector. Then you can connect the menu to the first responder. Your
view needn't be able to take keyboard input, but simply a subclass of
NSResponder (which views are) and implement the selector.
Paul
--
Paul Franceus |
RABA Technologies | All Your Base are Belong to us.
email@hidden |
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.