• 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
Monitoring the selection in an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monitoring the selection in an NSOutlineView


  • Subject: Monitoring the selection in an NSOutlineView
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 12 Feb 2003 16:31:25 -0600

Is there any way to determine exactly *what* is changing when an NSOutlineView's selection changes? I'd like to know exactly which row is changing, and whether it will become selected or deselected.

I've thought about storing the current selection in an instance variable in outlineView:shouldSelectItem: and then comparing it with current selection in outlineViewSelectionDidChange:, but this isn't very elegant, and doesn't work if someone deselects something anyway.

Anything obvious I'm missing?

Thanks,
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Monitoring the selection in an NSOutlineView
      • From: Andrew Pinski <email@hidden>
  • Prev by Date: Problems with drawing to an NSImage in a faceless app
  • Next by Date: Strange Error with Singleton Class
  • Previous by thread: Problems with drawing to an NSImage in a faceless app
  • Next by thread: Re: Monitoring the selection in an NSOutlineView
  • Index(es):
    • Date
    • Thread