MASAppDelegate.m 823 B

12345678910111213141516171819202122232425
  1. //
  2. // MASAppDelegate.m
  3. // Masonry
  4. //
  5. // Created by Jonas Budelmann on 20/07/13.
  6. // Copyright (c) 2013 cloudling. All rights reserved.
  7. //
  8. #import "MASAppDelegate.h"
  9. #import "MASExampleListViewController.h"
  10. @implementation MASAppDelegate
  11. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  12. self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
  13. // Override point for customization after application launch.
  14. self.window.backgroundColor = UIColor.whiteColor;
  15. UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:MASExampleListViewController.new];
  16. self.window.rootViewController = navigationController;
  17. [self.window makeKeyAndVisible];
  18. return YES;
  19. }
  20. @end