Re: menu action never being called?
Re: menu action never being called?
- Subject: Re: menu action never being called?
- From: Kiel Gillard <email@hidden>
- Date: Wed, 4 Nov 2009 12:44:12 +1100
On 04/11/2009, at 12:25 PM, David M. Cotter wrote:
i have a menu that lives in the menu bar (top level)
but i also use it in a context menu
This is the source of your problem. Your design is working against you.
I would suggest using one instance of NSMenu for the main menu and
another instance for the contextual menu. This encourages you to keep
your code cleaner in logic, simpler to maintain and more flexible in
the future.
I hope this helps despite the assumptions I am making about your code.
Kiel
_______________________________________________
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