• 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
Re: NSMenu in NSTableView column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenu in NSTableView column


  • Subject: Re: NSMenu in NSTableView column
  • From: Jonathan Taylor <email@hidden>
  • Date: Tue, 12 Aug 2014 15:40:28 +0100

>> My question then is how should I access the tags in the popup menu in order to work out which tag corresponds to the selected item in each row?
>
> If I understand your setup correctly, the most direct route is to set an action on each menu item.

Ah ok, I've revisited that and got it to work. I'd tried it before and it had had no effect; I'd assumed that was something else that just didn't work with tables. However I've now spotted the compile-time warning about only sending actions to the table view delegate, and after fixing that it works nicely. Thanks very much.
Jonny
_______________________________________________

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: NSMenu in NSTableView column
      • From: Jonathan Taylor <email@hidden>
References: 
 >NSMenu in NSTableView column (From: Jonathan Taylor <email@hidden>)
 >Re: NSMenu in NSTableView column (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: NSMenu in NSTableView column
  • Next by Date: Re: Does NSPointerArray support zeroing weak references under ARC
  • Previous by thread: Re: NSMenu in NSTableView column
  • Next by thread: Re: NSMenu in NSTableView column
  • Index(es):
    • Date
    • Thread