forked from xBlackMilk/RACCommandExample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppDelegate.m
More file actions
27 lines (21 loc) · 835 Bytes
/
AppDelegate.m
File metadata and controls
27 lines (21 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// AppDelegate.m
// RACCommandExample
//
// Created by Ole Gammelgaard Poulsen on 05/12/13.
// Copyright (c) 2013 SHAPE. All rights reserved.
//
#import "AppDelegate.h"
#import "SubscribeViewController.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
SubscribeViewController *subscribeViewController = [SubscribeViewController new];
UINavigationController *mainNavigationController = [[UINavigationController alloc] initWithRootViewController:subscribeViewController];
self.window.rootViewController = mainNavigationController;
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}
@end