AWFPointAnimationDataSource
@protocol AWFPointAnimationDataSource <AWFAnimationDataSource>
The AWFPointAnimationDataSource
is adopted by an object that provides the necessary data for an point-based
overlay to complete its animation.
-
Asks the data source for the data to be used for this animation. (required) *
Declaration
Objective-C
- (nullable NSArray<id<AWFAnnotation>> *)annotationsForAnimation: (nonnull AWFAnimation *)animation;
Parameters
animation
The animation object requesting the data. *
Return Value
An array of data items to use for the animation. These instances may vary depending on subclasses and what they expect to receive.