"Fossies" - the Fresh Open Source Software Archive

Member "xdelta3-3.0.11/examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSAppDelegate.m" (24 Mar 2015, 2152 Bytes) of package /linux/misc/xdelta3-3.0.11.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Matlab source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 //
    2 //  Xd3iOSAppDelegate.m
    3 //  xdelta3-ios-test
    4 //
    5 //  Created by Joshua MacDonald on 6/16/12.
    6 //  Copyright (c) 2011, 2012 Joshua MacDonald. All rights reserved.
    7 //
    8 
    9 #import "Xd3iOSAppDelegate.h"
   10 
   11 @implementation Xd3iOSAppDelegate
   12 
   13 @synthesize window = _window;
   14 
   15 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
   16 {
   17     // Override point for customization after application launch.
   18     return YES;
   19 }
   20                             
   21 - (void)applicationWillResignActive:(UIApplication *)application
   22 {
   23     /*
   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.
   26      */
   27 }
   28 
   29 - (void)applicationDidEnterBackground:(UIApplication *)application
   30 {
   31     /*
   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.
   34      */
   35 }
   36 
   37 - (void)applicationWillEnterForeground:(UIApplication *)application
   38 {
   39     /*
   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.
   41      */
   42 }
   43 
   44 - (void)applicationDidBecomeActive:(UIApplication *)application
   45 {
   46     /*
   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.
   48      */
   49 }
   50 
   51 - (void)applicationWillTerminate:(UIApplication *)application
   52 {
   53     /*
   54      Called when the application is about to terminate.
   55      Save data if appropriate.
   56      See also applicationDidEnterBackground:.
   57      */
   58 }
   59 
   60 @end