I have a ListTableView
with cells organized in several sections.
Another FilterTableView
(filter settings for the ListTableView
) provided by another controller. Every cell of FilterTableView
has a UISwitch
to set the showing/hiding state of a specified section of ListTableView
.
How exactly do I save the BOOL
state of UISwitch
?
What kind of model do I need to provide?
What is the right way to pass the state of UISwitch
of cells of
FilterTableView
to show/hide sections in ListTableView
?
Thanks for your help in advance!