AWFAnimatableOverlay

Objective-C

@protocol AWFAnimatableOverlay <MKOverlay, AWFAnimationDataSource>

Swift

protocol AWFAnimatableOverlay : MKOverlay, AWFAnimationDataSource

The AWFAnimatableOverlay protocol defines an overlay object that can be animated and provides a required animation property to store the animation object.

  • The animation object associated with the overlay.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWFAnimation *_Nonnull animation;

    Swift

    var animation: AWFAnimation { get set }
  • The maximum number of intervals to show during an animation. This value is typically only used for image and tile data animations.

    Declaration

    Objective-C

    @optional
    @property (nonatomic, assign, unsafe_unretained, readwrite)
        NSInteger maximumIntervalsForAnimation;

    Swift

    optional var maximumIntervalsForAnimation: Int { get set }