I have an UITableView with multiple sections. I want to show/hide the checkmark accessory in the cell when the cell is clicked. I could have done this by using a MutableArray if there was only one section as mentioned in this answer Set checkmark in UITableView. But how can I do it if there are multiple sections?
If you have multiple sections, instead of an array, you can use... an array of arrays !