• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: replacing NSViewAnimation with CoreAnimation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: replacing NSViewAnimation with CoreAnimation
      • From: Scott Anguish <email@hidden>
References: 
 >Re: replacing NSViewAnimation with CoreAnimation (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Strange Undo action for caching based on transient properties
  • Next by Date: Re: XCode 3 Debugger bug?
  • Previous by thread: Re: replacing NSViewAnimation with CoreAnimation
  • Next by thread: Re: replacing NSViewAnimation with CoreAnimation
  • Index(es):
    • Date
    • Thread