TiAnimationDelegate Protocol Reference
Declared in | TiAnimation.h |
Tasks
-
– animationShouldTransition:
Whether or not the animation should transition.
-
– animationWillStart:
Tells the delegate that the animation will start.
-
– animationDidStart:
Tells the delegate that the animation did start.
-
– animationWillComplete:
Tells the delegate that the animation will complete.
-
– animationDidComplete:
Tells the delegate that the animation did complete.
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