Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm

Issue 322403007: Fix a number of issues with iOS build. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unnecessary image Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #import "AppDelegate_iPhone.h" 1 #import "AppDelegate_iPhone.h"
2 2
3 @implementation AppDelegate_iPhone 3 @implementation AppDelegate_iPhone
4 @synthesize window, fRoot; 4 @synthesize window, fRoot;
5 5
6 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( NSDictionary *)launchOptions { 6 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( NSDictionary *)launchOptions {
7 [window addSubview:fRoot.view]; 7 [window addSubview:fRoot.view];
8 [window makeKeyAndVisible]; 8 [window makeKeyAndVisible];
9
10 self.window.rootViewController = fRoot;
11
9 return YES; 12 return YES;
10 } 13 }
11 14
12 - (void)dealloc { 15 - (void)dealloc {
13 [window release]; 16 [window release];
14 [fRoot release]; 17 [fRoot release];
15 [super dealloc]; 18 [super dealloc];
16 } 19 }
17 20
18 @end 21 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698