• 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
Source list groups hidden by default
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Source list groups hidden by default


  • Subject: Source list groups hidden by default
  • From: David Catmull <email@hidden>
  • Date: Tue, 18 Oct 2011 17:12:06 -0600

I have a source list in my window - an NSOutlineView where my delegate returns YES for outlineView:isGroupItem: for certain items. In 10.7, group items now have a Show/Hide button that appears on mouse-over. The complication is that for some reason my groups are hidden by default. I can expand them programmatically, but that doesn't work if the group is empty. I could expand it when I add children, but then I have to keep track of whether it's for the first time or if I'm just refreshing. So how do I make my groups shown by default?

--
David Catmull
email@hidden
http://www.uncommonplace.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

  • Prev by Date: Re: Getting weekday name from weekday number?
  • Next by Date: Re: Custom NSArrayController that manages its own array?
  • Previous by thread: Re: Getting weekday name from weekday number?
  • Next by thread: ARC + return of autoreleased CFType
  • Index(es):
    • Date
    • Thread