@smileBot's answer helped me understand that the solution is very simple, and the error caused by iOS makes sense
Application termination due to an uncaught exception 'NSInternalInconsistencyException', reason: '- [UITableViewController loadView] loaded the tip of' MainListViewController 'but did not receive a UITableView.
Basically they say that the nib view controller does not return a UITableView because it is not, for most - your nib returns a View - which is created for you by default when you create a new ViewController in Xcode.
The solution is as simple as deleting the View , which can be compared to the norm, but select it and click "Back" and then drag the UITableView inside your ViewController, and this UITableView will now act as the root view inside your TableViewController.
Keep in mind that this is only necessary for classes directly subclassing the UITableViewController.
Good luck.
Ryan Aug 18 '15 at 5:56 2015-08-18 05:56
source share