Flutter iOS Embedder
FlutterUIPressProxy Class Reference

#import <FlutterUIPressProxy.h>

Inheritance diagram for FlutterUIPressProxy:
FakeUIPressProxy

Instance Methods

(instancetype) - initWithPress:withEvent:
 
(ios(13.4) - API_AVAILABLE
 
(ios(13.4) - API_AVAILABLE
 
(ios(13.4) - API_AVAILABLE
 
(ios(13.4) - API_AVAILABLE
 

Detailed Description

A event class that is a wrapper around a UIPress and a UIEvent to allow overidding for testing purposes, since UIKit doesn't allow creation of UIEvent or UIPress directly.

Definition at line 17 of file FlutterUIPressProxy.h.

Method Documentation

◆ API_AVAILABLE [1/4]

- (ios(13.4) API_AVAILABLE

◆ API_AVAILABLE [2/4]

- (ios(13.4) API_AVAILABLE

◆ API_AVAILABLE [3/4]

- (ios(13.4) API_AVAILABLE

◆ API_AVAILABLE [4/4]

- (ios(13.4) API_AVAILABLE

◆ initWithPress:withEvent:

- (instancetype) initWithPress: (UIPress*)  press
withEvent: (ios(13.4))  API_AVAILABLE 

Definition at line 16 of file FlutterUIPressProxy.mm.

16  :(UIPress*)press withEvent:(UIEvent*)event API_AVAILABLE(ios(13.4)) {
17  self = [super init];
18  if (self) {
19  _press = press;
20  _event = event;
21  }
22  return self;
23 }

The documentation for this class was generated from the following files:
-[FlutterUIPressProxy API_AVAILABLE]
ios(13.4 API_AVAILABLE()