Sha256: 57c58f05c5da8553be95ce65be924eaf8f13f11c3a9c796eebcf1f3764cf140c
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
#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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xcbootstrap-0.0.2 | templates/simple/app/src/AppDelegate.m |
xcbootstrap-0.0.1 | templates/simple/app/src/AppDelegate.m |