Няма описание

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. //
  2. // AppDelegate.m
  3. // iOS_Test
  4. //
  5. // Created by tiff on 11/17/16.
  6. // Copyright © 2016 icondb. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. @interface AppDelegate ()
  10. @end
  11. @implementation AppDelegate
  12. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  13. // Override point for customization after application launch.
  14. NSLog(@"%s", __PRETTY_FUNCTION__);
  15. return YES;
  16. }
  17. - (void)applicationWillResignActive:(UIApplication *)application {
  18. // 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.
  19. // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
  20. NSLog(@"%s", __PRETTY_FUNCTION__);
  21. }
  22. - (void)applicationDidEnterBackground:(UIApplication *)application {
  23. // 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.
  24. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  25. NSLog(@"%s", __PRETTY_FUNCTION__);
  26. }
  27. - (void)applicationWillEnterForeground:(UIApplication *)application {
  28. // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
  29. NSLog(@"%s", __PRETTY_FUNCTION__);
  30. }
  31. - (void)applicationDidBecomeActive:(UIApplication *)application {
  32. // 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.
  33. NSLog(@"%s", __PRETTY_FUNCTION__);
  34. }
  35. - (void)applicationWillTerminate:(UIApplication *)application {
  36. // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
  37. NSLog(@"%s", __PRETTY_FUNCTION__);
  38. }
  39. - (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
  40. {
  41. NSLog(@"%s", __PRETTY_FUNCTION__);
  42. }
  43. - (instancetype)init
  44. {
  45. NSLog(@"%s", __PRETTY_FUNCTION__);
  46. self = [super init];
  47. return self;
  48. }
  49. - (void)dealloc
  50. {
  51. NSLog(@"%s", __PRETTY_FUNCTION__);
  52. }
  53. @end