Re: CA: How to wait for an animation to finish?

2008-03-17 Thread Jens Alfke
On 16 Mar '08, at 12:07 PM, John Harper wrote: Implicit animations are useful in many scenarios, but due to the simplicity of the API they don't cover everything. If there are things you'd like to see them extended to support please file bugs. Thanks for your detailed answers, John. The

CA: How to wait for an animation to finish?

2008-03-16 Thread Jens Alfke
One thing I still haven't figured out how to do in Core Animation is how to schedule an animation to start after previous animations have finished. Anyone know how? For example, in GeekGameBoard, moving a checkers piece is done by (1) Changing the piece's superlayer to be the root layer,

Re: CA: How to wait for an animation to finish?

2008-03-16 Thread Joachim Deelen
Hi Jens, maybe the Delegation Method: - (void)animationDidStop:(CAAnimation *)animation finished: (BOOL)finished; is what you are looking for?! regards Joachim Am 16.03.2008 um 17:03 schrieb Jens Alfke: One thing I still haven't figured out how to do in Core Animation is how to schedule

Re: CA: How to wait for an animation to finish?

2008-03-16 Thread Jens Alfke
On 16 Mar '08, at 9:43 AM, Joachim Deelen wrote: maybe the Delegation Method: - (void)animationDidStop:(CAAnimation *)animation finished: (BOOL)finished; is what you are looking for?! It would be, if I had a CAAnimation object. But I don't. All I did was something like layer.position =