I have an app (Xcode 4 using Storyboard) where I created a class for a UITableView derived from UIViewController. It sorta worked until I figured out that I had created the class in error… it should have derived from UITableViewController.
So I created the replacement class as it should have been (UITableViewController), and changed the class of the view in Storyboard to match the name of the newly created UITableViewClass. It builds just fine, but when I go to run it, it crashes with the error:
[UITableViewController loadView] loaded the
“BaL-ay-iTG-view-otY-DM-YDS” nib but didn’t get a UITableView.’
Since this is using Storyboard, I don’t have access to the NIB. Is there any way I can fix this besides re-writing the entire app? (I have tried “clean” several times, to no avail)
Thanks to David Cairns for the answer. I appreciate it! I quote from above: