Re: Sliding Split Views, part II

2009-01-23 Thread Erik Buck
As I recall, this sample code does exactly what you want: http://developer.apple.com/samplecode/Reducer/   I haven't looked at it for a while, so I may be mistaken. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Sliding Split Views, part II

2009-01-23 Thread Sam Krishna
I'm using the following code to create an animated sliding SplitView using an NSButton to toggle whether the split view is *up* and you can see the lower split view, or *down* and the lower split view is hidden. Here's the code: - (IBAction)toggleVariables:(id)sender { NSSize newSize =