1//
2//  AppDelegate_iPhone.m
3//  iosshell
4//
5//  Created by Yang Su on 6/30/11.
6//  Copyright 2011 Google Inc. All rights reserved.
7//
8
9#import "AppDelegate_iPhone.h"
10
11@implementation AppDelegate_iPhone
12
13@synthesize window;
14
15
16#pragma mark -
17#pragma mark Application lifecycle
18
19- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
20
21    // Override point for customization after application launch.
22
23    [self.window makeKeyAndVisible];
24
25    return YES;
26}
27
28
29- (void)applicationWillResignActive:(UIApplication *)application {
30    /*
31     Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
32     Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
33     */
34}
35
36
37- (void)applicationDidEnterBackground:(UIApplication *)application {
38    /*
39     Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
40     If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
41     */
42}
43
44
45- (void)applicationWillEnterForeground:(UIApplication *)application {
46    /*
47     Called as part of  transition from the background to the inactive state: here you can undo many of the changes made on entering the background.
48     */
49}
50
51
52- (void)applicationDidBecomeActive:(UIApplication *)application {
53    /*
54     Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
55     */
56}
57
58
59- (void)applicationWillTerminate:(UIApplication *)application {
60    /*
61     Called when the application is about to terminate.
62     See also applicationDidEnterBackground:.
63     */
64}
65
66
67#pragma mark -
68#pragma mark Memory management
69
70- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
71    /*
72     Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
73     */
74}
75
76
77- (void)dealloc {
78    [window release];
79    [super dealloc];
80}
81
82
83@end
84