Last active
August 29, 2015 14:10
-
-
Save matrixfox/a71944724f7b8780957d to your computer and use it in GitHub Desktop.
Xcode 6 Empty Application Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Xcode 6 - Empty Application Template | |
// | |
// 1. Create a new "Single View Application" template. | |
// 2. Delete said files "Main.storyboard", "ViewController.h", "ViewController.m". | |
// 3. Remove the "Main storyboard file base name" entry from "Info.plist" file. | |
// 4. Open AppDelegate.m, and edit applicationDidFinishLaunchingWithOptions with this snippet. | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; | |
// Override point for customization after application launch. | |
self.window.backgroundColor = [UIColor whiteColor]; | |
[self.window makeKeyAndVisible]; | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment