Re: 'Static' items in an NSOutlineView
Re: 'Static' items in an NSOutlineView
- Subject: Re: 'Static' items in an NSOutlineView
- From: Koen van der Drift <email@hidden>
- Date: Mon, 17 Oct 2011 22:58:11 -0400
As I posted a few days ago, I was able to create the 'static items' in my outlineview,
What I am now trying to do is to set the order of the static items, without changing the order of the other groups in the view. Using a sortdescriptor won't work, since it will order *all* groups, including the static ones.
What it should look like is:
LIBRARY (static)
Group1
Group2
FAVORITES (static)
Group3
Group4
RECENT (static)
If I use a sortdescriptor based on the name, it will look like:
FAVORITES
Group1
Group2
Group3
Group4
LIBRARY
RECENT
Are there any other approaches?
Thanks,
- Koen._______________________________________________
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