5 // Created by Joshua MacDonald on 6/16/12.
6 // Copyright (c) 2011, 2012 Joshua MacDonald. All rights reserved.
9 #import "Xd3iOSAppDelegate.h"
11 @implementation Xd3iOSAppDelegate
13 @synthesize window = _window;
15 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
17 // Override point for customization after application launch.
21 - (void)applicationWillResignActive:(UIApplication *)application
24 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.
25 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.
29 - (void)applicationDidEnterBackground:(UIApplication *)application
32 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.
33 If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
37 - (void)applicationWillEnterForeground:(UIApplication *)application
40 Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
44 - (void)applicationDidBecomeActive:(UIApplication *)application
47 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.
51 - (void)applicationWillTerminate:(UIApplication *)application
54 Called when the application is about to terminate.
55 Save data if appropriate.
56 See also applicationDidEnterBackground:.