iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIAnimatorListener

@protocol ISCIAnimatorListener <NSObject>

Defines an animation listener which receives notifications from an animation.

Note

Notifications indicate animation related events, such as the start, update end or cancel the animation.
  • Notifies the start of the animation.

    Declaration

    Objective-C

    - (void)onAnimationStart:(SCIValueAnimator *)animation;

    Swift

    func onAnimationStart(_ animation: SCIValueAnimator!)

    Parameters

    animation

    The started animation.

  • Notifies the occurrence of another frame of the animation.

    Declaration

    Objective-C

    - (void)onAnimationUpdate:(SCIValueAnimator *)animation;

    Swift

    func onAnimationUpdate(_ animation: SCIValueAnimator!)

    Parameters

    animation

    The animation which was repeated.

  • Notifies the end of the animation.

    Declaration

    Objective-C

    - (void)onAnimationEnd:(SCIValueAnimator *)animation;

    Swift

    func onAnimationEnd(_ animation: SCIValueAnimator!)

    Parameters

    animation

    The animation which reached its end.

  • Notifies the cancellation of the animation.

    Declaration

    Objective-C

    - (void)onAnimationCancel:(SCIValueAnimator *)animation;

    Swift

    func onAnimationCancel(_ animation: SCIValueAnimator!)

    Parameters

    animation

    The animation which was canceled.