• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2//  AppDelegate_iPad.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_iPad.h"
10
11@implementation AppDelegate_iPad
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)applicationDidBecomeActive:(UIApplication *)application {
38    /*
39     Restart any tasks that were paused (or not yet started) while the application was inactive.
40     */
41}
42
43
44- (void)applicationWillTerminate:(UIApplication *)application {
45    /*
46     Called when the application is about to terminate.
47     */
48}
49
50
51#pragma mark -
52#pragma mark Memory management
53
54- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
55    /*
56     Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
57     */
58}
59
60
61- (void)dealloc {
62    [window release];
63    [super dealloc];
64}
65
66
67@end
68