Getting the view for a contextual menu
Getting the view for a contextual menu
- Subject: Getting the view for a contextual menu
- From: Marshall Houskeeper <email@hidden>
- Date: Fri, 20 Feb 2009 09:17:44 -0500
I have setup a contextual menu in interface builder that sends an
action to my controller. I have several similar views that will have
the same contextual menu. When I invoke the contextual menu, the
controller's IBAction function gets called as expected. The sender
passed to the functions is a NSMenuItem. How do I determine which
view invoked the contextual menu action?
Regards,
Marshall
_______________________________________________
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