zxing/iphone/ScanTest/Classes/ScanTestAppDelegate.m

48 lines
878 B
Mathematica
Raw Normal View History

//
// ScanTestAppDelegate.m
// ScanTest
//
// Created by David Kavanagh on 5/10/10.
// Copyright __MyCompanyName__ 2010. All rights reserved.
//
#import "ScanTestAppDelegate.h"
#import "RootViewController.h"
@implementation ScanTestAppDelegate
@synthesize window;
@synthesize navigationController;
#pragma mark -
#pragma mark Application lifecycle
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after app launch
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];
return YES;
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Save data if appropriate
}
#pragma mark -
#pragma mark Memory management
- (void)dealloc {
[navigationController release];
[window release];
[super dealloc];
}
@end