If this situation is a programming error that should not occur, then the corresponding action is to terminate the program with an error so that a programming error is detected and can be fixed:
(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
if(tableView == self.selectedContentTableView) {
return cell;
}
else if(tableView == self.recipientTableView) {
return cell;
}
else {
NSLog(@"Some exception message for unexpected tableView");
abort();
}
}
abort() __attribute__((noreturn)),
.