// Есть много способов сделать это 1 из следующих способов:
// берем кнопку выхода в tableviewcell
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell2 : cellname = tableView.dequeueReusableCell(withIdentifier: "cellname") as! cellname
cell2.addAddressButton.addTarget(self, action: #selector(openNewVC), for: .touchUpInside)
return cell2
}
func openNewVC(){
self.performSegue(withIdentifier: "Identifiername", sender: self)
}