Flutter iOS Embedder
FlutterViewResponder.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVIEWRESPONDER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVIEWRESPONDER_H_
7 
8 #import <Foundation/Foundation.h>
9 
11 @protocol FlutterViewResponder <NSObject>
12 
13 @property(nonatomic, strong) UIView* view;
14 
15 - (void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event;
16 - (void)touchesMoved:(NSSet*)touches withEvent:(UIEvent*)event;
17 - (void)touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event;
18 - (void)touchesCancelled:(NSSet*)touches withEvent:(UIEvent*)event;
19 - (void)touchesEstimatedPropertiesUpdated:(NSSet*)touches;
20 
21 @end
23 
24 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVIEWRESPONDER_H_
NS_ASSUME_NONNULL_END
#define NS_ASSUME_NONNULL_END
Definition: FlutterMacros.h:20
FlutterViewResponder-p::view
UIView * view
Definition: FlutterViewResponder.h:13
NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN
Definition: FlutterMacros.h:19
FlutterViewResponder-p
Definition: FlutterViewResponder.h:11