mirror of
https://github.com/zxing/zxing.git
synced 2024-11-11 13:34:08 -08:00
d5cd0e1901
git-svn-id: https://zxing.googlecode.com/svn/trunk@1354 59b500cc-1b3d-0410-9834-0bbf25fbcc57
48 lines
878 B
Objective-C
48 lines
878 B
Objective-C
//
|
|
// 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
|
|
|