From f82b62096ddc38319b92fda2f38580055ccd8da1 Mon Sep 17 00:00:00 2001 From: Collin Jackson Date: Tue, 12 Jul 2016 18:34:01 -0700 Subject: [PATCH] Simplify iOS template project --- .../templates/create/ios.tmpl/Runner/AppDelegate.m | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m b/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m index ef626e114c5..d4cfa3ad4b5 100644 --- a/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m +++ b/packages/flutter_tools/templates/create/ios.tmpl/Runner/AppDelegate.m @@ -5,16 +5,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. - FlutterDartProject* project = [[FlutterDartProject alloc] initFromDefaultSourceForConfiguration]; - CGRect frame = [UIScreen mainScreen].bounds; - UIWindow* window = [[UIWindow alloc] initWithFrame:frame]; - FlutterViewController* viewController = [[FlutterViewController alloc] initWithProject:project - nibName:nil - bundle:nil]; - window.rootViewController = viewController; - self.window = window; - [self.window makeKeyAndVisible]; - return YES; }