iPhone,缺少插座表查看?

时间:2011-01-12 15:23:11

标签: iphone xcode uitableview

我正在重写我的新项目中的一些旧冷,我确信我之前遇到过这种情况,但我找不到问题。

我似乎无法找到一个tableView插座,小写字母t看起来像是在代码中指定的。但它可能使用保留关键字,我必须使用Ib中的选项来使用它。

只是不确定如何抓住它?

使用tableView

继承旧项目

alt text

继承我的新项目

alt text

h file

#import <UIKit/UIKit.h>

@class OverlayViewController;

@interface RootViewController : UITableViewController {

    NSMutableArray *listOfItems;
    NSMutableArray *copyListOfItems;
    IBOutlet UISearchBar *searchBar;
    BOOL searching;
    BOOL letUserSelectRow;

    OverlayViewController *ovController;
}

- (void) searchTableView;
- (void) doneSearching_Clicked:(id)sender;

@end

1 个答案:

答案 0 :(得分:0)

Interface Builder中的对象类是否设置为UITableViewController,就像在代码中一样?