• 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
Finding clicked row in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding clicked row in NSOutlineView


  • Subject: Finding clicked row in NSOutlineView
  • From: James Walker <email@hidden>
  • Date: Mon, 13 Oct 2008 18:23:13 -0700

I need to be notified when a row of an NSOutlineView was clicked, and find out which row. Do I need to subclass it? Just thought I'd ask, since I've read that new Cocoa programmers might tend to subclass more than they ought.

The NSOutlineViewSelectionDidChangeNotification is not sufficient, because in the case of a modified click that causes a multiple selection, I need to know the individual row that was clicked.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________


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: Finding clicked row in NSOutlineView
      • From: "Michael Ash" <email@hidden>
    • Re: Finding clicked row in NSOutlineView
      • From: Tito Ciuro <email@hidden>
  • Prev by Date: Animating view transitions with Core Animation (problems with BasicCocoaAnimations sample)
  • Next by Date: Status Item menus don't open on hover
  • Previous by thread: Re: Animating view transitions with Core Animation (problems with BasicCocoaAnimations sample)
  • Next by thread: Re: Finding clicked row in NSOutlineView
  • Index(es):
    • Date
    • Thread