I have a UITableView
with data coming from NSFetchedResultsController
.
Here is my tablewView:
I need to add a row "All types". It also needs to be:
- Sortable with all other items
- Selectable (Design is now selected)
- Selecting "All types" should deselect other rows
- Give something to understand that it's an "All types" row when selected
I've read Add extra row to a UITableView managed by NSFetchedResultsController and NSFetchedResultsController prepend a row or section. Given approaches makes impossible to sort data or will look so hacky and produce so much hard-maintailable code, that it will be impossible to change logic and maintain code.
Are there any other good options?
PS. I understand, that my question may sound "broad" and doesn't containt code, but I think it's very common problem.