Re: Animating NSSplitPane position
Re: Animating NSSplitPane position
- Subject: Re: Animating NSSplitPane position
- From: Dave DeLong <email@hidden>
- Date: Wed, 15 Jun 2011 22:00:26 -0700
I have no special insights into this other than that the BWSplitView (part of BWToolkit) also does animated resizing, so it may be worth a poke around in the BWToolkit source:
https://bitbucket.org/bwalkin/bwtoolkit
HTH,
Dave
On Jun 15, 2011, at 7:48 PM, Graham Cox wrote:
> Does anyone know how to animate the positioning of a split pane?
>
> I'm using -setPosition:ofDividerAtIndex: and I call this using the view's animator:
>
> [[mySplitPane animator] setPosition:position ofDividerAtIndex:0];
>
> But it doesn't animate and just jumps into position. I see other apps manage this (e.g. Mail) so how's it done?
>
> --Graham
_______________________________________________
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