AWFPointAnimationDelegate

@protocol AWFPointAnimationDelegate <AWFAnimationDelegate>

The AWFPointAnimationDelegate protocol defines a set of optional methods that can be used to be notified when the point data animation data changes.

  • Tells the delegate the animation has annotations to be added for the current position in the timeline. * Typically this is used by a AWFWeatherMap instance to be notified when annotations should be added to the map. *

    Declaration

    Objective-C

    - (void)animation:(nonnull AWFPointAnimation *)animation
        didAddAnnotations:(nonnull NSArray<id<AWFAnnotation>> *)annotations;

    Parameters

    animation

    The animation that added annotations.

    annotations

    The annotations that are active for the current timeline range.

  • Tells the delegate the animation has annotations to be removed for the current position in the timeline. * Typically this is used by a AWFWeatherMap instance to be notified when annotations should be removed from the map. *

    Declaration

    Objective-C

    - (void)animation:(nonnull AWFPointAnimation *)animation
        didRemoveAnnotations:(nonnull NSArray<id<AWFAnnotation>> *)annotations;

    Parameters

    animation

    The animation managing the annotations.

    annotations

    The annotations that are inactive for the current timeline range.