Declared in TiAnimation.h

Overview

Protocol for animation delegate.

Tasks

Instance Methods

animationDidComplete:

Tells the delegate that the animation did complete.

- (void)animationDidComplete:(TiAnimation *)animation

Parameters

animation

The animation this delegate is assigned to.

Declared In

TiAnimation.h

animationDidStart:

Tells the delegate that the animation did start.

- (void)animationDidStart:(TiAnimation *)animation

Parameters

animation

The animation this delegate is assigned to.

Declared In

TiAnimation.h

animationShouldTransition:

Whether or not the animation should transition.

- (BOOL)animationShouldTransition:(TiAnimation *)animation

Parameters

animation

The animation this delegate is assigned to.

Return Value

YES if the animation should transition, NO otherwise.

Discussion

The method is only called if the animation is a transition animation type.

Declared In

TiAnimation.h

animationWillComplete:

Tells the delegate that the animation will complete.

- (void)animationWillComplete:(TiAnimation *)animation

Parameters

animation

The animation this delegate is assigned to.

Declared In

TiAnimation.h

animationWillStart:

Tells the delegate that the animation will start.

- (void)animationWillStart:(TiAnimation *)animation

Parameters

animation

The animation this delegate is assigned to.

Declared In

TiAnimation.h