the very simple test app that calls the ZXingWidget
[zxing.git] / iphone / ScanTest / Classes / ScanTestAppDelegate.m
1 //
2 //  ScanTestAppDelegate.m
3 //  ScanTest
4 //
5 //  Created by David Kavanagh on 5/10/10.
6 //  Copyright __MyCompanyName__ 2010. All rights reserved.
7 //
8
9 #import "ScanTestAppDelegate.h"
10 #import "RootViewController.h"
11
12
13 @implementation ScanTestAppDelegate
14
15 @synthesize window;
16 @synthesize navigationController;
17
18
19 #pragma mark -
20 #pragma mark Application lifecycle
21
22 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
23     // Override point for customization after app launch    
24         
25         [window addSubview:[navigationController view]];
26     [window makeKeyAndVisible];
27         return YES;
28 }
29
30
31 - (void)applicationWillTerminate:(UIApplication *)application {
32         // Save data if appropriate
33 }
34
35
36 #pragma mark -
37 #pragma mark Memory management
38
39 - (void)dealloc {
40         [navigationController release];
41         [window release];
42         [super dealloc];
43 }
44
45
46 @end
47