Skip navigation.
 
mlRe: replacing NSViewAnimation with CoreAnimation
FROM : Scott Anguish
DATE : Thu Nov 22 22:28:40 2007

On Nov 22, 2007, at 6:11 AM, Stefan Haller wrote:

> Scott Anguish <<email_removed>> 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)

Related mailsAuthorDate
mlreplacing NSViewAnimation with CoreAnimation Christoph Vogelbus… Nov 21, 14:25
mlRe: replacing NSViewAnimation with CoreAnimation Nick Zitzmann Nov 21, 16:29
mlRe: replacing NSViewAnimation with CoreAnimation Scott Anguish Nov 21, 21:10
mlRe: replacing NSViewAnimation with CoreAnimation Christoph Vogelbus… Nov 21, 22:05
mlRe: replacing NSViewAnimation with CoreAnimation Scott Anguish Nov 21, 23:17
mlRe: replacing NSViewAnimation with CoreAnimation haller Nov 22, 12:11
mlRe: replacing NSViewAnimation with CoreAnimation Scott Anguish Nov 22, 22:28
mlRe: replacing NSViewAnimation with CoreAnimation haller Nov 23, 09:27
mlRe: replacing NSViewAnimation with CoreAnimation Scott Anguish Nov 23, 10:37
mlRe: replacing NSViewAnimation with CoreAnimation haller Nov 23, 17:05