我解决了。问题是推到这个控制器上。而不是:
let destinationView = FiltroLocalitaTableViewController()
destinationView.palina = self.transito.palina
self.navigationController?.pushViewController(destinationView, animated: true)
我用过:
let filtroLocalitaVC = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "filtroLocalitaView") as! FiltroLocalitaTableViewController
filtroLocalitaVC.palina = self.transito.palina
filtroLocalitaVC.delegate = self
self.navigationController?.pushViewController(filtroLocalitaVC, animated: true)
它成功了。