• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting the view for a contextual menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Getting the view for a contextual menu
      • From: Ross Carter <email@hidden>
  • Prev by Date: Re: Tool Tips for Inactive window...
  • Next by Date: Re: Tool Tips for Inactive window...
  • Previous by thread: Re: Tool Tips for Inactive window...
  • Next by thread: Re: Getting the view for a contextual menu
  • Index(es):
    • Date
    • Thread