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<UIApplicationDelegate> and
defines:
  @property (strong, nonatomic) UIWindow *window;
This commit is contained in:
Chris Bracken
2017-01-26 18:20:26 -08:00
committed by GitHub
parent ee825ea5d7
commit 122ff8528c

View File

@@ -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<UIApplicationDelegate>")))
@interface FlutterAppDelegate : UIResponder<UIApplicationDelegate>
@property(strong, nonatomic) UIWindow* window;