Quote:
Originally Posted by indiekiduk
You probably haven't set the class name of the table controller in IB. Click the table controller, click the 4th tab in the inspector and type in MyTableViewController or what ever you called it (If it doesn't autocomplete its wrong, it looks up the .h file).
Note:
Table data is usually declared in the table controller. You can create it in the viewDidLoad method.
|
Great Thread! Healthy debate over pure code vs. IDE tools.
I am more interested in using the IDE tools; therefore I have a conceptual question for clarification:
Is it required/recommended for MainWindow.xib to be the root of all UI Controllers/Views?
e.g. I have been working on an app where the TabBarController is in the MainWindow.xib, but one of the tabs is to be a Navigation based table view and it's nib contains the NavigationController, Table View etc... and an exception is thrown when I try to load that view.
I am hoping that by restructing the MainWindow.xib to govern all UI in a hierarchical fashion will resolve these matters and I can get on with the more complex aspects of the app.
I would just like to know that doing this restructure is the correct path to follow. I have been piecing together a larger app from smaller samples...
btw indiekiduk, is your demo video posted elsewhere? I tried to download from your original link, but the file was invalid...
Thanks in advance,
EB