My UITableView is not populated because:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
is never invoked.
This is how I initialize the table:
self.recentScannedItems = [[[UITableView alloc] initWithFrame:kLastScannedPortrait style:UITableViewStylePlain] autorelease];
[self.recentScannedItems setDelegate:self];
[self.recentScannedItems setDataSource:self];
[self.view addSubview:recentScannedItems];
what am I missing ?
Have you implemented correctly the datasource methods:
If you are not implementing this methods, or if you are returning 0 in them, cellForRowAtIndexPath won’t be called