Assuming your actual problem is assigning the same object as UITableViewDelegate:
UITableViewDelegete methods pass an instance of UITableView to it. You just need to filter out which tables you should work with. For instance:
- (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath { if (tableView == yourFirstTableView) { // <do whatever on first table view>... } else if (tableView == yourSecondTableView) { // <do whatever on second table view>... } }
source share