On 14 Feb 2009, at 12:22 pm, Jacob Rhoden wrote:
I am trying to do an action when an item in an NSOutlineView is clicked. How do I work out which item was actually clicked on? Ive tried all sorts of things and nothing seems to work. (Google or Cocoa programmng for mac os x 3rd edition are not that helpful on this!)
You need to supply a delegate to the outline view and implement the delegate method:
-outlineViewSelectionDidChange: hth, --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com