Convert remaining uses of alloc] init] to new]

Summary: public

We moved to using `new` instead of `alloc] init` but there was still some calls
left.

Reviewed By: javache

Differential Revision: D2604679

fb-gh-sync-id: ff7300ecbedb55dd5e93873592598810c9b87808
This commit is contained in:
Tadeu Zagallo
2015-11-02 07:58:47 -08:00
committed by facebook-github-bot-4
parent 0a28ce480e
commit ccd90e25c1
14 changed files with 17 additions and 17 deletions

View File

@@ -47,7 +47,7 @@
launchOptions:launchOptions];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [[UIViewController alloc] init];
UIViewController *rootViewController = [UIViewController new];
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];