Re: Animating NSSplitView collapse/uncollapse

2012-02-07 Thread Luc Van Bogaert
On 06 Feb 2012, at 09:29, Martin Hewitson wrote: Hi Luc, Attached is a split view controller which I think does what you want, or at least should enough to go on. This is cobbled together from various examples I found on the web. The code is experimental and probably needs some cleaning

Re: Animating NSSplitView collapse/uncollapse

2012-02-06 Thread Martin Hewitson
Hi Luc, Attached is a split view controller which I think does what you want, or at least should enough to go on. This is cobbled together from various examples I found on the web. The code is experimental and probably needs some cleaning up. Cheers, Martin MHSlidingSplitViewController.h

Animating NSSplitView collapse/uncollapse

2012-02-05 Thread Luc Van Bogaert
I've been trying to implement a splitview with animated collapse/uncollapse of one of its subviews. So far without success, although I think I'm very close to a working solution. There's a lot of documentation and sample code on the internet, but none of what I have found seems to fit my needs.

Re: Animating NSSplitView collapse/uncollapse

2012-02-05 Thread Alvaro Costa Neto
Hey Luc, how are you? I had to implement this exact functionality in a commercial project and here is what I've found: - The delegate methods will be called when the animation occurs---continuously. So, if you are limiting the size of one of the subviews via splitView:min/max..., this is