Initial import of KREngine
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%404
This commit is contained in:
34
objview/Classes/KRObjViewAppDelegate.mm
Normal file
34
objview/Classes/KRObjViewAppDelegate.mm
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// KRObjViewAppDelegate.m
|
||||
// KRObjView
|
||||
//
|
||||
// Created by Mac on 11-04-29.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#import "KRObjViewAppDelegate.h"
|
||||
#import "KRObjViewViewController.h"
|
||||
|
||||
@implementation KRObjViewAppDelegate
|
||||
|
||||
@synthesize window;
|
||||
@synthesize viewController;
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
|
||||
// Add the view controller's view to the window and display.
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
|
||||
[self.window addSubview:viewController.view];
|
||||
[self.window makeKeyAndVisible];
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[viewController release];
|
||||
[window release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user