PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 1ms

/iCoolNews/Classes/iCoolNewsAppDelegate.m

http://github.com/hrishikeshparanjape/iphone-news-reader
Objective C | 25 lines | 16 code | 9 blank | 0 comment | 0 complexity | 1a21661dc6ec79157612621a7733ca88 MD5 | raw file
 1
 2#import <sqlite3.h>
 3#import "iCoolNewsAppDelegate.h"
 4#import "SwitchViewController.h"
 5
 6@implementation iCoolNewsAppDelegate
 7
 8@synthesize window;
 9@synthesize switchViewController;
10
11
12- (void)applicationDidFinishLaunching:(UIApplication *)application {    
13	
14	[window addSubview:switchViewController.view];    //first screen of the app
15    [window makeKeyAndVisible];
16}
17
18
19- (void)dealloc {
20    [window release];
21	[switchViewController release];
22    [super dealloc];
23}
24
25@end