Re: replacing NSViewAnimation with CoreAnimation
Re: replacing NSViewAnimation with CoreAnimation
- Subject: Re: replacing NSViewAnimation with CoreAnimation
- From: Scott Anguish <email@hidden>
- Date: Thu, 22 Nov 2007 16:28:40 -0500
On Nov 22, 2007, at 6:11 AM, Stefan Haller wrote:
Scott Anguish <email@hidden> wrote:
[[myView animator] setFrame:newRect];
May I use this opportunity to ask a related question: how do I animate
scrolling in an NSScrollView?
Sure.
You'd have to use something other than an animatable proxy. Only
selected properties are already animatable in NSView and NSWindow.
NSAnimation is probably your best bet.
I thought the list of animator proxy animatable properties was in the
release notes.. but I can't seem to find them at the moment.
In the meantime, I'd suggest filing an enhancement request for
NSScrollView to support animatable property container animation for
scrolling. (and please send me the id off list if you do)
_______________________________________________
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