Ios swift – How to close an expandable table view row when another one is clicked
I have an expandable table view cell with several rows, and I'd like to make it impossible to have multiple rows opened at the same time. here's my code so far : func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {…