How can be give data to a table out of three tables in same class?
+1
A:
All the delegate calls pass you the ID of the tableView along, so you can just retain the id of your table in an instance variable and probe for it in the delegate calls:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
if (tableView == tableOne)
return 1;
else if (tableView == tableTwo)
return 10;
}
Robin
2010-10-06 10:59:46
Or you can combine the information using JOIN clauses in case you are talking about DataTables?
Dick Lampard
2010-10-06 11:12:39
accepted thanks
pankaj kainthla
2010-10-16 11:36:53