iDevGames Forums
UITableViewDelegate not hooked up - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: UITableViewDelegate not hooked up (/thread-8111.html)



UITableViewDelegate not hooked up - Toontingy - Sep 16, 2010 08:33 PM

I have created a popup subview that displays tableview, something is not right because the delegate functions are not getting called so none of the displayed
header:
Code:
@interface UIPopUpTableView : UIView <UITableViewDelegate> {

    NSArray* array;
    UITableView* tableView;
}
@property (nonatomic, retain) UITableView *tableView;
@end

source:
Code:
- (id)initWithFrame:(CGRect)frame {
...other init stuff....
tableView = [[UITableView alloc] initWithFrame:CGRectMake(0.0f, 44.0f, 320.0f, 216.0f) style: UITableViewStylePlain];
tableView.delegate = self;
[self addSubview:tableView];

Am i missing something else?