| Flutter iOS Embedder |

FlutterSceneDelegate.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_HEADERS_FLUTTERSCENEDELEGATE_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERSCENEDELEGATE_H_
7
8 #import <UIKit/UIKit.h>
9 #import "FlutterMacros.h"
10 #import "FlutterSceneLifeCycle.h"
11
12 NS_ASSUME_NONNULL_BEGIN
13
14 /**
15 * The UISceneDelegate used by Flutter by default.
16 *
17 * This class is typically specified as the UISceneDelegate in the Info.plist.
18 */
19 FLUTTER_DARWIN_EXPORT
20 @interface FlutterSceneDelegate
21 : NSObject <UIWindowSceneDelegate, FlutterSceneLifeCycleEngineRegistration>
22 @property(nonatomic, strong, nullable) UIWindow* window;
23
24 @end
25
26 NS_ASSUME_NONNULL_END
27
28 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERSCENEDELEGATE_H_
FlutterMacros.h
NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN
Definition: FlutterMacros.h:19
NS_ASSUME_NONNULL_END
#define NS_ASSUME_NONNULL_END
Definition: FlutterMacros.h:20
FLUTTER_DARWIN_EXPORT
#define FLUTTER_DARWIN_EXPORT
Definition: FlutterMacros.h:14
FlutterSceneLifeCycle.h
FlutterSceneDelegate
Definition: FlutterSceneDelegate.h:21
FlutterSceneDelegate::window
FlutterSceneLifeCycleEngineRegistration UIWindow * window
Definition: FlutterSceneDelegate.h:22