I'm rewriting some old cold in my new project and I'm sure I've come across this before, but I can't find the problem.
I can't seem to find a tableView outlet, with the lower case t it looks like its specified in code. But it could be using a reserved keyword and I have to use an option in the Ib to use it.
Just not sure how to get hold of it ?
Heres the old project, with tableView
Heres my new project
h file
#import <UIKit/UIKit.h>
@class OverlayViewController;
@interface RootViewController : UITableViewController {
NSMutableArray *listOfI开发者_StackOverflow社区tems;
NSMutableArray *copyListOfItems;
IBOutlet UISearchBar *searchBar;
BOOL searching;
BOOL letUserSelectRow;
OverlayViewController *ovController;
}
- (void) searchTableView;
- (void) doneSearching_Clicked:(id)sender;
@end
Is your object's class in Interface Builder set to UITableViewController like it is in the code?
精彩评论