I simply want to have a static table View with items in it. I used Xcode 4.2 with storyboard for this task. So I created a TableView with a tableViewController (subclass UIT
For static table views, you must not implement any of the datasource methods. The base implementation of UITableViewController has its own versions of these methods which return the appropriate content by reading the storyboard file. The methods are those which provide the table content, e.g. numberOfRows, numberOfSections, heightForRow, cellForRow and so forth.
In your case, you'd implemented tableView:cellForRowAtIndexPath:
and returned empty cells each time. This meant the size of your cells was correct, but the content was gone.
Also, none of the outlets to content in your static table view will be set until after [super viewWillAppear:animated]
has been called. They will still be nil at viewDidLoad, where you are calling them from, because the table view hasn't asked for any of it's content at that point.