AppDelegate.m 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // AppDelegate.m
  3. // kneet2
  4. //
  5. // Created by Created by Jason Lee on 10/1/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. #import "JDObject.h"
  10. @interface AppDelegate ()
  11. @end
  12. // Constants
  13. // static NSString * const kSomeLocalConstant = @"SomeValue";
  14. @implementation AppDelegate
  15. @synthesize window = _window;
  16. #pragma mark -
  17. #pragma mark Static methods
  18. #pragma mark -
  19. #pragma mark Init and dealloc
  20. #pragma mark -
  21. #pragma mark Properties
  22. #pragma mark -
  23. #pragma mark Public methods
  24. #pragma mark -
  25. #pragma mark Private methods
  26. #pragma mark -
  27. #pragma mark Delegate methods
  28. #pragma mark UIApplicationDelegate
  29. - (BOOL)application:(__unused UIApplication *)application didFinishLaunchingWithOptions:(__unused NSDictionary *)launchOptions {
  30. [self initializeApp];
  31. UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"IntroViewController" storyboardName:@"Main"];
  32. self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
  33. self.window.rootViewController = vc;
  34. [self.window makeKeyAndVisible];
  35. return YES;
  36. }
  37. #pragma mark -
  38. #pragma mark Handlers
  39. - (void)initializeApp {
  40. // [DDLog addLogger:[DDASLLogger sharedInstance]];
  41. [DDLog addLogger:[DDTTYLogger sharedInstance]];
  42. }
  43. @end