the relationship have show on the image,click the add button to add a item,then click the cell will show the PhotoListVC,i have set the segue between ListVC and PhotoListVC, it shouldn't allow me to add another segue with IB,and i have searched the internet,there was an resolved question,but it just has one segue,so how to pass data between ListVC and ListDetailVC when the 'Edit' Button has been clicked with already have one sugue?
override func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? {
let edit = UITableViewRowAction(style: .normal, title: "Edit") {action in
XXXXXXX
}
edit.backgroundColor = UIColor.orange
}