nib but didn’t get a UITableView

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.

Leave a Comment