| 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
11 NS_ASSUME_NONNULL_BEGIN
12
13 /**
14 * The UISceneDelegate used by Flutter by default.
15 *
16 * This class is typically specified as the UISceneDelegate in the Info.plist.
17 */
18 FLUTTER_DARWIN_EXPORT
19 @interface FlutterSceneDelegate : NSObject <UIWindowSceneDelegate>
20 @property(nonatomic, strong, nullable) UIWindow* window;
21 @end
22
23 NS_ASSUME_NONNULL_END
24
25 #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
FlutterSceneDelegate
Definition: FlutterSceneDelegate.h:19
FlutterSceneDelegate::window
UIWindow * window
Definition: FlutterSceneDelegate.h:20