Conforms to NSObject
Declared in NGLTween.h

Overview

Protocol to NGLTween delegation.

This protocol defines optional methods to be called during a tween. All methods return pointers to the NGLTween that had generate that call, so you can interact with the original NGLTween instance.

The methods are:

  • tweenWillStart: Called once immediately before the tween start (after all delays).
  • tweenDidStart: Called once immediately after the tween produce have produced the first movement.
  • tweenWillRepeat: Called every time before the tween start a new repetition.
  • tweenDidRepeat: Called every time after the tween have finished repetition.
  • tweenWillFinish: Called once immediately before the last movement of the tween.
  • tweenDidFinish: Called once after the tween complete, including all repetitions.

Tasks

  • – tweenWillStart:

    This method is called once immediately before the tween start (after all delays).

  • – tweenDidStart:

    This method is called once immediately after the tween produce have produced the first movement.

  • – tweenWillRepeat:

    This method is called every time before the tween start a new repetition.

  • – tweenDidRepeat:

    This method is called every time after the tween have finished repetition.

  • – tweenWillFinish:

    This method is called once immediately before the last movement of the tween.

  • – tweenDidFinish:

    This method is called once after the tween complete, including all repetitions.

Instance Methods

tweenDidFinish:

This method is called once after the tween complete, including all repetitions.

- (void)tweenDidFinish:(NGLTween *)tween

Parameters

tween

The tween instance that have generated this call.

Discussion

This method is called once after the tween complete, including all repetitions.

Declared In

NGLTween.h

tweenDidRepeat:

This method is called every time after the tween have finished repetition.

- (void)tweenDidRepeat:(NGLTween *)tween

Parameters

tween

The tween instance that have generated this call.

Discussion

This method is called every time after the tween have finished repetition.

Declared In

NGLTween.h

tweenDidStart:

This method is called once immediately after the tween produce have produced the first movement.

- (void)tweenDidStart:(NGLTween *)tween

Parameters

tween

The tween instance that have generated this call.

Discussion

This method is called once immediately after the tween produce have produced the first movement.

Declared In

NGLTween.h

tweenWillFinish:

This method is called once immediately before the last movement of the tween.

- (void)tweenWillFinish:(NGLTween *)tween

Parameters

tween

The tween instance that have generated this call.

Discussion

This method is called once immediately before the last movement of the tween.

Declared In

NGLTween.h

tweenWillRepeat:

This method is called every time before the tween start a new repetition.

- (void)tweenWillRepeat:(NGLTween *)tween

Parameters

tween

The tween instance that have generated this call.

Discussion

This method is called every time before the tween start a new repetition.

Declared In

NGLTween.h

tweenWillStart:

This method is called once immediately before the tween start (after all delays).

- (void)tweenWillStart:(NGLTween *)tween

Parameters

tween

The tween instance that have generated this call.

Discussion

This method is called once immediately before the tween start (after all delays).

Declared In

NGLTween.h