Это все в cellForRowAtIndexPath, вот небольшой пример:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell * r = [[[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil] autorelease];
if (indexPath.section == 0) {
NSArray *a = [NSArray arrayWithObjects:@"a",@"b",@"c",@"d",@"e",nil];
r.textLabel.text = [a objectAtIndex:indexPath.row];
} else {
NSArray *b = [NSArray arrayWithObjects:@"1",@"2",@"3",@"4",@"5",nil];
r.textLabel.text = [b objectAtIndex:indexPath.row];
}
return r;
}