Flutter Engine
 
Loading...
Searching...
No Matches
AppDelegate.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_TESTING_IOS_IOSUNITTESTS_APP_APPDELEGATE_H_
6#define FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_APPDELEGATE_H_
7
8#import <UIKit/UIKit.h>
9
10@class FlutterEngine;
11@protocol FlutterPluginRegistrant;
12
13@interface AppDelegate : UIResponder <UIApplicationDelegate>
14
15@property(nonatomic, strong, nullable) UIWindow* window;
16
17// A mirror of the FlutterAppDelegate API for integration testing.
18@property(nonatomic, strong, nullable) NSObject<FlutterPluginRegistrant>* pluginRegistrant;
19
20/** The FlutterEngine that will be served by `takeLaunchEngine`. */
21@property(nonatomic, strong, nullable) FlutterEngine* mockLaunchEngine;
22
24
25@end
26
27#endif // FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_APPDELEGATE_H_
nullable FlutterEngine * takeLaunchEngine()
Definition AppDelegate.m:33
NSObject< FlutterPluginRegistrant > * pluginRegistrant
Definition AppDelegate.h:18
UIWindow * window
Definition AppDelegate.h:15
FlutterEngine * mockLaunchEngine
Definition AppDelegate.h:21