UITableViewDelegate not hooked up
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:
source:
Am i missing something else?
header:
Code:
@interface UIPopUpTableView : UIView <UITableViewDelegate> {
NSArray* array;
UITableView* tableView;
}
@property (nonatomic, retain) UITableView *tableView;
@endsource:
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?

