Hello I have a view controller that loads from an xib i created. It has two toolbars and a table view in that.
I add this too the header file in the ViewController
@interface FilterViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
When I do
[self.tableView reloadData]
It does throws up an error and does not build.
Just making your
UIViewControllerconform toUITableViewDataSourceandUITableViewDelegatedoes not automatically give you atableViewreference.You need to create a tableView
IBOutletand connect it in Interface Builder.Also, why not just inherit
UITableViewControllerinstead of aUIViewController?