• 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
How do I delete NSCollectionView item on right click?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I delete NSCollectionView item on right click?


  • Subject: How do I delete NSCollectionView item on right click?
  • From: Austin Grigg <email@hidden>
  • Date: Fri, 31 Jul 2009 23:11:32 -0400

I've got an NSCollectionView with the prototype view subclassed and I'm overriding menuForEvent. I'm creating a menu that has Edit/Delete and when the user clicks Delete I want to remove that collection view item. Where would you put the selector for the Delete menu item, and how would you know when it gets called what collection view item to delete?

Thanks,
Austin
_______________________________________________

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: How do I delete NSCollectionView item on right click?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Core Data App With Auxiliary Panel
  • Next by Date: Re: Core Data App With Auxiliary Panel
  • Previous by thread: Re: Core Data App With Auxiliary Panel
  • Next by thread: Re: How do I delete NSCollectionView item on right click?
  • Index(es):
    • Date
    • Thread