AWFWeatherMapContainerView
@interface 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 (readonly, strong, nonatomic) UITapGestureRecognizer *tapGestureRecognizer;
Swift
var tapGestureRecognizer: UITapGestureRecognizer! { get }
-
The long press gesture recognizer associated with the view.
Declaration
Objective-C
@property (readonly, strong, nonatomic) 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 (readonly, strong, nonatomic) 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 (assign, readwrite, nonatomic) id<AWFWeatherMapContainerViewDelegate> delegate;
Swift
unowned(unsafe) var delegate: AWFWeatherMapContainerViewDelegate! { get set }