开发者

iPhone, Missing outlet tableView?

开发者 https://www.devze.com 2023-02-04 08:43 出处:网络
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'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

iPhone, Missing outlet tableView?

Heres my new project

iPhone, Missing outlet tableView?

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号