Subclass FlutterAppDelegate in iOS examples (#7847)

Subclassing FlutterAppDelegate is not required for real-world apps, but
it's what 'flutter create' generates, and applies the default behaviours
that most real-world apps will want.
This commit is contained in:
Chris Bracken 2017-02-02 18:38:48 -08:00 committed by GitHub
parent aaff608d05
commit acc7d110c0
4 changed files with 8 additions and 12 deletions

View file

@ -1,7 +1,6 @@
#import <UIKit/UIKit.h>
#import <Flutter/Flutter.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@interface AppDelegate : FlutterAppDelegate
@end

View file

@ -3,9 +3,8 @@
// found in the LICENSE file.
#import <UIKit/UIKit.h>
#import <Flutter/Flutter.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property(strong, nonatomic) UIWindow *window;
@interface AppDelegate : FlutterAppDelegate
@end

View file

@ -1,7 +1,6 @@
#import <UIKit/UIKit.h>
#import <Flutter/Flutter.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@interface AppDelegate : FlutterAppDelegate
@end

View file

@ -1,7 +1,6 @@
#import <UIKit/UIKit.h>
#import <Flutter/Flutter.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@interface AppDelegate : FlutterAppDelegate
@end