• 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
NSOutlineViewWill Expand/Collapse notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineViewWill Expand/Collapse notifications


  • Subject: NSOutlineViewWill Expand/Collapse notifications
  • From: Ken Victor <email@hidden>
  • Date: Wed, 7 Jun 2006 18:34:51 -0700

i'm registered for outline view will expand/collapse notifications. the documentation clearly states that these notifications are sent BEFORE the associated clicked row is expanded/collapsed as follows:

Posted before an item is collapsed (after the user clicks the arrow but before the item is collapsed).
The notification object is the NSOutlineView object that contains the item about to be collapsed. A collapsed item's children will lose their status as being selected. The userInfo dictionary contains the following information:


and:

Posted before an item is expanded (after the user clicks the arrow but before the item is collapsed).
The notification object is the outline view that contains an item about to be expanded. The userInfo dictionary contains the following information:


yet, in my notification routine when i checked the state of the item via [NSOutlineView isItemExpanded:] its as if the notification is sent AFTER the item has expanded/collapsed.

is this a known bug? or is this a documentation bug?

thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOutlineViewWill Expand/Collapse notifications
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: QuickTime, Cocoa, et al
  • Next by Date: NSMovieView wont accept clicks w/ a borderless window
  • Previous by thread: Indirectly Related Core Data Bindings
  • Next by thread: Re: NSOutlineViewWill Expand/Collapse notifications
  • Index(es):
    • Date
    • Thread