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