skia2/experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm
jvanverth 66c9582d1b Fix a number of issues with iOS build.
Set pointer to root view in window (for SampleApp)
Set up the correct function pointer for GL multisampling
Remove use of SkBitmap::setConfig()
Remove incomplete iOS implementation of SkFILE (use SkOSFile for now)

R=caryclark@google.com, reed@google.com, bsalomon@google.com, tfarina@chromium.org

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/322403007
2014-06-11 13:59:22 -07:00

22 lines
429 B
Plaintext

#import "AppDelegate_iPhone.h"
@implementation AppDelegate_iPhone
@synthesize window, fRoot;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[window addSubview:fRoot.view];
[window makeKeyAndVisible];
self.window.rootViewController = fRoot;
return YES;
}
- (void)dealloc {
[window release];
[fRoot release];
[super dealloc];
}
@end