I want to write a tab bar application with two views. The first view should allow navigation.
I first used Interface Builder to make the tab bar and embed the views into it. It worked fine.
I then went to my first view and embedded a table view into it. I set my viewcontroller as the data source of for the table view and wrote the mandatory hooks.
This worked fine as well.
Next I wanted to make the navigation controller. Now this is something I'm not too sure about. I tried subclassing my first view from UINavigationController instead of UIViewController. This brought up the navigation bar without a title on testing with the simulator. Which is a good sign. But setting self.title in awakeFromNib did not set the title.
I googled some, and found
this post.
I dropped the IB way of doing it and rewrote the thing programmatically. Now I don't even get the navigation bar.
What am I doing wrong?