Sha256: 9cf3cab441075c432a337f0f95c283f721238e7e29d5d0f109cafa4938111287

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 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:CGRectMake(0, 100, 320, 100)];
    welcome.text = @"Welcome";
    welcome.textAlignment = NSTextAlignmentCenter;
    [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.1.0 templates/simple/app/src/AppDelegate.m
xcbootstrap-0.0.3 templates/simple/app/src/AppDelegate.m