Populate tableview with multilevel nested JSON

236 views Asked by At

I have a requirement to populate tableview with multilevel nested json.

So based on selection of categoryName, a subcategory populates and previous section/row collapses and title is updated with the selection and when i select a subcategory, another subcategory populates with expand/collapse and this goes to multilevel. I am clueless and need insights.

1

There are 1 answers

1
Dheeraj D On

You can achieve it using two ways:

First:

You need to right the logic to make UITableView collapsable using two array like: FullTableViewData array and CurrentContentShowingArray.

Second:

You can use ThirdParty classes.

RRNCollapsableSectionTableViewSwift