FROM : haller
DATE : Thu Nov 22 12:11:20 2007
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?
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/
DATE : Thu Nov 22 12:11:20 2007
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?
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/
| Related mails | Author | Date |
|---|---|---|
| Christoph Vogelbus… | Nov 21, 14:25 | |
| Nick Zitzmann | Nov 21, 16:29 | |
| Scott Anguish | Nov 21, 21:10 | |
| Christoph Vogelbus… | Nov 21, 22:05 | |
| Scott Anguish | Nov 21, 23:17 | |
| haller | Nov 22, 12:11 | |
| Scott Anguish | Nov 22, 22:28 | |
| haller | Nov 23, 09:27 | |
| Scott Anguish | Nov 23, 10:37 | |
| haller | Nov 23, 17:05 |






Cocoa mail archive

