PageRenderTime 28ms CodeModel.GetById 19ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/samples/TileIssue/Classes/TileIssueAppDelegate.m

http://github.com/route-me/route-me
Objective C | 42 lines | 19 code | 15 blank | 8 comment | 0 complexity | 59334303432f98cd0a1c1a279c7e6ce2 MD5 | raw file
 1//
 2//  TileIssueAppDelegate.m
 3//  TileIssue
 4//
 5//  Created by olivier on 4/8/09.
 6//  Copyright __MyCompanyName__ 2009. All rights reserved.
 7//
 8
 9#import "TileIssueAppDelegate.h"
10
11@implementation TileIssueAppDelegate
12
13@synthesize window;
14@synthesize tileIssueViewController;
15@synthesize navController;
16
17- (void)applicationDidFinishLaunching:(UIApplication *)application {    
18
19    // Override point for customization after application launch
20	
21	[self setTileIssueViewController:[[TileIssueViewController alloc]init]];
22	
23	UINavigationController *aNavigationViewCtrl = [[UINavigationController alloc]initWithRootViewController:[self tileIssueViewController]];
24	[self setNavController:aNavigationViewCtrl];
25	[aNavigationViewCtrl release];
26	
27	[window setBackgroundColor:[UIColor blueColor]];
28
29	
30	[window addSubview:[navController view]];
31	[window makeKeyAndVisible];
32
33}
34
35
36- (void)dealloc {
37    [window release];
38    [super dealloc];
39}
40
41
42@end