Instance Method

animationShouldStart:

Sent to the delegate just after an animation is started.

Declaration

- (BOOL)animationShouldStart:(NSAnimation *)animation;

Parameters

animation

The NSAnimation object that was just started.

Return Value

NO to cancel the animation, YES to have the animation proceed.

Discussion

The delegate is sent this message just after animation receives a startAnimation message. The delegate can use this method to prepare objects and resources for the effect.

See Also

Controlling and Monitoring an Animation

- animationDidEnd:

Sent to the delegate when the specified animation completes its run.

- animationDidStop:

Sent to the delegate when the specified animation is stopped before it completes its run.

- animation:valueForProgress:

Requests a custom curve value for the current progress value.