1

I'm following Apple's Core Data Tutorial for iOS and am having issues pretty early on when I have to build the application for the first time at the Build and Test step.

I'm building this with Xcode 4.2 and iOS 5.

Here is my source

And a screenshot of what is appearing

Kyle Hayes
  • 5,078
  • 7
  • 34
  • 53
  • take a look http://stackoverflow.com/questions/7520971/applications-are-expected-to-have-a-root-view-controller-at-the-end-of-applicati – Manlio Jan 07 '12 at 19:00

1 Answers1

5

You didn't create the app window.

Add this line:

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

on the top of

application didFinishLaunchingWithOptions
Tomasz Wojtkowiak
  • 4,914
  • 1
  • 27
  • 35