Instance Method


Adds the specified animation block to the animator with a delay.


- (void)addAnimations:(void (^)(void))animation delayFactor:(CGFloat)delayFactor;



A block containing the animations to add to the animator object. This block has no return value and takes no parameters.


The factor to use for delaying the start of the animations. The value must be between 0.0 and 1.0. Multiply this value by the animator’s remaining duration to determine the actual delay in seconds. For example, if the value 0.5 and the animator’s duration is 2.0, delay the start of the animations by one second.


Use this method to add new animation blocks to your custom animator object. The animations in the new block should run alongside any previously configured animations, starting after the specified delay and finishing at the same time as any original animations. Your implementation must be able to handle multiple calls to this method.

See Also

Modifying Animations

- addAnimations:

Adds the specified animation block to the animator.

- addCompletion:

Adds the specified completion block to the animator.

- continueAnimationWithTimingParameters:durationFactor:

Adjusts the final timing and duration of a paused animation.