Swift - tableView Row height updates only after scrolling or toggle expand/collapse
I am using CollapsibleTableView from here and modified it as per my requirement to achieve collapsible sections. Here is how it looks now . Since there is a border for my section as per the UI design, I had chosen the section header to be my UI element that holds data in both collapsed and expanded modes. Reason: I tried but couldn't get it working in this model explained below - ** Have my header elements in section header and details of each item in its cell. By default, the section is in collapsed state. When user taps on the header, the cell is toggled to display. As I said, since there is