AWFWeatherMapContainerViewDelegate
Objective-C
@protocol AWFWeatherMapContainerViewDelegate <NSObject>
Swift
protocol AWFWeatherMapContainerViewDelegate : NSObjectProtocol
The AWFWeatherMapContainerViewDelegate
protocol defines a set of optional methods that you can use to receive messages about the completion of
gesture recognizers within the view.
-
Tells the delegate that a tap was received on the view.
Declaration
Objective-C
- (void)weatherMapContainerView:(AWFWeatherMapContainerView *)containerView didReceiveTapAtPoint:(CGPoint)point;
Swift
optional func weatherMapContainerView(_ containerView: AWFWeatherMapContainerView!, didReceiveTapAt point: CGPoint)
Parameters
containerView
The view that received the tap.
point
The point in the view’s screen coordinates where the gesture occurred.
-
Tells the delegate that a long press gesture was recognized and has begun.
Declaration
Objective-C
- (void)weatherMapContainerView:(AWFWeatherMapContainerView *)containerView didStartLongPressGestureAtPoint:(CGPoint)point;
Swift
optional func weatherMapContainerView(_ containerView: AWFWeatherMapContainerView!, didStartLongPressGestureAt point: CGPoint)
Parameters
containerView
The view that received the long press.
point
The point in the view’s screen coordinates where the gesture occurred.
-
Tells the delegate that a long press gesture was recognized and has completed.
Declaration
Objective-C
- (void)weatherMapContainerView:(AWFWeatherMapContainerView *)containerView didFinishLongPressGestureAtPoint:(CGPoint)point;
Swift
optional func weatherMapContainerView(_ containerView: AWFWeatherMapContainerView!, didFinishLongPressGestureAt point: CGPoint)
Parameters
containerView
The view that received the long press.
point
The point in the view’s screen coordinates where the gesture occurred.
-
Tells the delegate that a long press gesture was cancelled.
Declaration
Objective-C
- (void)weatherMapContainerViewDidCancelLongPressGesture: (AWFWeatherMapContainerView *)containerView;
Swift
optional func weatherMapContainerViewDidCancelLongPressGesture(_ containerView: AWFWeatherMapContainerView!)
Parameters
containerView
The view that received the long press.