AWFWeatherMapContainerView

Objective-C

@interface AWFWeatherMapContainerView : UIView <UIGestureRecognizerDelegate>

Swift

class AWFWeatherMapContainerView : UIView, UIGestureRecognizerDelegate

AWFWeatherMapContainerView is a subclass of UIView that contains the stategy-specific map view for a weather map and manages user interactions necessary for additional weather map functionality, such as long-press to display current weather conditions at any location.

  • The tap gesture recognizer associated with the view.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UITapGestureRecognizer *tapGestureRecognizer;

    Swift

    var tapGestureRecognizer: UITapGestureRecognizer! { get }
  • The long press gesture recognizer associated with the view.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UILongPressGestureRecognizer *longPressRecognizer;

    Swift

    var longPressRecognizer: UILongPressGestureRecognizer! { get }
  • The long press gesture recognizer associated with the view and used to control the animated circle that initially appears while performing a long press on a weather map.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UILongPressGestureRecognizer *longPressRecognizerForCircle;

    Swift

    var longPressRecognizerForCircle: UILongPressGestureRecognizer! { get }
  • The receiver’s delegate.

    A map container view delegate is notified about the successful completion of gesture recognizers necessary to perform certain weather map functionality.

    Declaration

    Objective-C

    @property (nonatomic, weak) id<AWFWeatherMapContainerViewDelegate> delegate;

    Swift

    weak var delegate: AWFWeatherMapContainerViewDelegate! { get set }