Re: First Responder
Re: First Responder
- Subject: Re: First Responder
- From: Kyle Sluder <email@hidden>
- Date: Fri, 25 Feb 2011 21:59:46 -0800
On Feb 25, 2011, at 9:31 PM, koko <email@hidden> wrote:
> I connect a menu item to an action in first responder. The action is defined in a .h and .m in the project
>
> In applicationDidFinishLaunching I alloc, init and retain an object that contains the action connected to the menu item in first responder.
>
> At run time the menu item is not enabled. I don't get it.
Is the object in the responder chain at all? The menu item can't magically know about the object; it needs to look through the responder chain to find it.
--Kyle Sluder_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden