NSTableView animation parameters
NSTableView animation parameters
- Subject: NSTableView animation parameters
- From: Graham Cox <email@hidden>
- Date: Wed, 21 Nov 2012 19:21:55 +1100
Hi all,
I'm using [NSTableView moveRowAtIndex:toIndex:] to show an animation for a row reordering on drag/drop. These rows control the ordering of a stack of adjacent views which are also animated by using [[view animator] setFrame:<>]; The idea is to make it seem that the table rows and the stack of views are in effect all tied together (these views can't be part of the table themselves because they need to scroll horizontally independently and also scale, etc).
The animations are similar but not identical which is not quite as visually slick as it could be. I'm trying to modify the view animation by implementing -animationForKey: in the moved view and changing the animation parameters. It helps, but I'm still not quite there yet. Does anyone know what the table view row animation parameters are (or can think of a way I can find them out) so that I can make the two act together? I probably only need to know the overall time and the timeFunction.
--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