mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-03 19:21:13 +00:00
8ba2769d5e
ViewController courtesy of rock88. Made modifications for simplification and code-style. Still missing some files (eg. images). Also, CMake is not set up correctly yet.
26 lines
582 B
Objective-C
26 lines
582 B
Objective-C
// AppDelegate.m boilerplate
|
|
|
|
#import "AppDelegate.h"
|
|
|
|
#import "ViewController.h"
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (void)dealloc
|
|
{
|
|
[_window release];
|
|
[_viewController release];
|
|
[super dealloc];
|
|
}
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|
{
|
|
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
|
|
self.viewController = [[[ViewController alloc] init] autorelease];
|
|
self.window.rootViewController = self.viewController;
|
|
[self.window makeKeyAndVisible];
|
|
return YES;
|
|
}
|
|
|
|
@end
|