Re: Animating a view along a path
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