No. It is a CABasicAnimation, but it also works with a
CAKeyframeAnimation.
I modified the example project from this blog post: http://www.cimgf.com/2008/11/05/core-animation-tutorial-interrupting-animation-progress/
to demonstrate this. The modified project is here: http://www.cimgf.com/file
Hey,
Is the animation your own subclass of CAAnimation? I am justing using
CAKeyframeAnimation.
TTFN
Bridger
On Tue, Jan 6, 2009 at 1:45 PM, Matt Long wrote:
> Bridger,
>
> As far as I can tell there is nothing inherent in the CA API to do what you
> want, however, KVC is available to you. When
Bridger,
As far as I can tell there is nothing inherent in the CA API to do
what you want, however, KVC is available to you. When you create your
animation, do this:
[animation setValue:objectLayer forKey:@"parentLayer"];
Where objectLayer is the layer the animation is going to be run on.
Another question on Core Animation.
I am creating temporary CALayers, and animating them across a parent layer.
I would like to delete the layers once they have reached their destination.
I are using the delegate method animationDidStop:finished: on the animation,
but it returns only a reference t