Hi, I am new to STV and currently checking out the STV Light framework.
Looking into the "Autosearch.app", I am trying to modify the PeopleViewController to behave like this:
- I would like the header sections in the PeopleviewController to be able to expand/collapse.
I cannot seem to be able to access the sections to add a expandCollapseCell to a SCArrayOfObjectsModel because I cannot get a grip on the sections that underly the ArrayOfObjectsModel. I would expect this to be possible, so maybe I overlook something.
Why would I want this? Suppose I have a task list that I would like to view ordered by month, where specific months can be collpased/expanded: I would like one big list to be automatically subdivided in month (each with a header showing the month name), and a expand/collapse triangle so the user can collapse the large list to show only the month(s) he/she is interested in. However: all in *one* table.
Hope someone can point me in the right direction... (thanks in advance!)