Source list groups hidden by default
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