How to create a useful empty project on Xcode 7 and Objective-c

Several months ago I wrote a post about a similar situation on Xcode 6. But things change on Xcode 7.

You need to add the following extra lines based on past proposal:

UIViewController *vc = [[UIViewController alloc] init];
[self.window setRootViewController:vc];

So the final result would be like this:

UIViewController *vc = [[UIViewController alloc] init];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[self.window setRootViewController:vc];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;

Everything else is similar to previous post.

I hope this proposal helps you.

Happy codingĀ :)