Re: Creating NSSplitView with Finder Column View Behavior
Re: Creating NSSplitView with Finder Column View Behavior
- Subject: Re: Creating NSSplitView with Finder Column View Behavior
- From: PGM <email@hidden>
- Date: Mon, 10 Sep 2007 01:45:23 -0400
Is there an easy way to create an NSSplitView that behaves like the
column view in Finder. In particular, I'd like a split view that
moves all sibling views, maintaining the original sibling view
size, when the slide divider is moved, rather than simply
compressing/expanding the immediate sibling (sharing the moved
divider). I know I can create this behavior catching 'splitView
(Will|Did)ResizeSubviews' delegate methods and manually adjusting
the view rects. But I'm hoping for a flag or subclass that will
"magically" create this behavior without lots of extra code.
You may want to have a look at RBSPlitView. I don't remember whether
it can do exactly what you want, but it can do a lot of fancy tricks,
so I wouldn't be surprised.
http://www.brockerhoff.net/src/rbs.html
Cheers, Patrick
_______________________________________________
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