Re: replacing NSViewAnimation with CoreAnimation
Re: replacing NSViewAnimation with CoreAnimation
- Subject: Re: replacing NSViewAnimation with CoreAnimation
- From: email@hidden (Stefan Haller)
- Date: Thu, 22 Nov 2007 12:11:20 +0100
- Organization: Ableton
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?
It seems that NSClipView's scrollToPoint: only calls
translateOriginToPoint:, which I'm not sure how to animate. I tried
scrolling manually by doing
[[[myScrollView contentView] animator] setBoundsOrigin:newOrigin];
but this throws an exception
[<NSClipView 0x1620e730> valueForUndefinedKey:]: this class is not key
value coding-compliant for the key boundsOrigin.
Any ideas?
--
Stefan Haller
Ableton
http://www.ableton.com/
_______________________________________________
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