On Feb 25, 2011, at 9:31 PM, koko <k...@highrolls.net> 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 (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