I created a UITableView programmatically, but none of its methods were called. I must have missed something:
- (void)viewDidLoad
{
[super viewDidLoad];
...
self.transactionView = [[UITableView alloc] initWithFrame:CGRectMake(0.0, CARD_VIEW_Y, 320.0, CARD_VIEW_H)];
self.transactionView.delegate = self;
[self.view addSubview:self.transactionView];
You need to wire both the
delegateAND thedataSourceof the tableview.UITableViewDataSourceprovides the methods to fill the actual table with data.