#import "AppDelegate.h" #import "ObjectiveSugar.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [@[@1, @2, @3] each:^(id item) { // Use one of the Cocoapods here to check compiler is all linked i[ }]; UIViewController *controller = [[UIViewController alloc] init]; controller.view.backgroundColor = [UIColor whiteColor]; UILabel *welcome = [[UILabel alloc] initWithFrame:CGRectZero]; welcome.text = @"Welcome"; [welcome sizeToFit]; [controller.view addSubview:welcome]; self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.rootViewController = controller; [self.window makeKeyAndVisible]; return YES; } - (void)applicationWillResignActive:(UIApplication *)application { } - (void)applicationDidEnterBackground:(UIApplication *)application { } - (void)applicationWillEnterForeground:(UIApplication *)application { } - (void)applicationDidBecomeActive:(UIApplication *)application { } - (void)applicationWillTerminate:(UIApplication *)application { } @end