skia2/experimental/iOSSampleApp/iPad/AppDelegate_iPad.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

23 lines
484 B
Plaintext

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