From 122ff8528c46f85d7c361b70ba716cab116479e7 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Thu, 26 Jan 2017 18:20:26 -0800 Subject: [PATCH] Deprecate FlutterAppDelegate (flutter/engine#3371) All samples and the 'flutter create' command now use a project-specifc app delegate. Any projects that still rely on FlutterAppDelegate should create an empty delegate that subclasses UIResponder and defines: @property (strong, nonatomic) UIWindow *window; --- .../platform/darwin/ios/framework/Headers/FlutterAppDelegate.h | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h b/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h index 693185e66e..ef7a4e2315 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h @@ -12,6 +12,7 @@ // Empty implementation of UIApplicationDelegate, for simple apps // that don't need to customize the application delegate. FLUTTER_EXPORT +__attribute__((deprecated("subclass UIResponder"))) @interface FlutterAppDelegate : UIResponder @property(strong, nonatomic) UIWindow* window;