For learnings purposes I am trying to build an “SingleView” application from the ground up.
Almost – I use the “EmptyApp” template. I do that to understand the way a view is instantiated in an iPhone App.
So far I got the following:
- AppDelegate.h
- AppDelegate.m
- StoryBoard (With a ViewController and one nested view. The viewController is also bound to my class ViewController)
- ViewController.h
- ViewController.m
I copied the script from the “SingleViewApp Template” over. But still my view isn’t shown when I test the app.
Looks like I am missing something. It must be a binding or something like that, as the script itself should be identically. Also the console is giving me the following message:
“Applications are expected to have a root view controller at the end
of application launch”
OK. How I tell my app, take my view and use it as root view?
Thanks Guys….
Every help is appreciated
mogio
In your project info.plist you will need to specify the main storyboard file