• 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: Animating a view along a path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animating a view along a path


  • Subject: Re: Animating a view along a path
  • From: Bill Dudney <email@hidden>
  • Date: Fri, 15 Aug 2008 12:06:59 -0600

Hi Chilton,

There are a couple of examples of doing just that in the CA book (disclaimer: I'm the author) showing how to animate views with keyframe animations.

http://www.pragprog.com/titles/bdcora

The basic idea is to set the path for the keyframe animation and then put that animation on the boundsOrigin property of the view. When the boundsOrigin is changed it will use the animation to do the change (assuming you use the animator proxy).

HTH,

-bd-

On Aug 14, 2008, at 5:26 PM, Chilton Webb wrote:

Hi,

I am using Core Animation Layer Backed NSViews in an app.

I'd like to make one animation occur along a path. I know I can do this with just Core Animation Layers, but can I do this with a layer backed NSView ?

Anyone have any example code of how to do this?

Thank you,
-Chilton Webb
_______________________________________________

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

_______________________________________________

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


References: 
 >Animating a view along a path (From: Chilton Webb <email@hidden>)

  • Prev by Date: Re: Making a bound view re-read its value
  • Next by Date: Re: creating files to write data to?
  • Previous by thread: Re: Animating a view along a path
  • Next by thread: Table column header not highlighted at first
  • Index(es):
    • Date
    • Thread