My application works for iOS 5.1 but for iOS 6 simulator I get the following error.
Terminating app due to uncaught exception \'NSInternalInconsist
If you have a NIB for the UITableViewController
subclass then its view
outlet must be hooked up to a UITableView
.
You're right to delete MainListViewController.xib
and do it all in code, but the reason it didn't work for you is because the old XIB will not be deleted when you build & run. So, delete the app from the simulator and try again. It should work then.