UITableViewDelegate not hooked up

Member
Posts: 38
Joined: 2008.09
Post: #1
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?
Quote this message in a reply
Post Reply