AWFLegendViewDelegate

Objective-C

@protocol AWFLegendViewDelegate <NSObject>

Swift

protocol AWFLegendViewDelegate : NSObjectProtocol

The AWFLegendViewDelegate protocol defines a set of optional methods that you can use to receive messages related to changes to the legend view.

  • Tells the delegate the legend view has presented.

    Declaration

    Objective-C

    - (void)legendViewDidPresent:(AWFLegendView *)legendView;

    Swift

    optional func legendViewDidPresent(_ legendView: AWFLegendView!)

    Parameters

    legendView

    The legend view that was presented

  • Tells the delegate the legend view has been dismissed.

    Declaration

    Objective-C

    - (void)legendViewDidDismiss:(AWFLegendView *)legendView;

    Swift

    optional func legendViewDidDismiss(_ legendView: AWFLegendView!)

    Parameters

    legendView

    The legend view that was dismissed