Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for expandable tableview to convert my JSON tree structure

I want to convert my below JSON tree structure to expandable tableview. JSON tree can be changed dynamically from a server, which can contain Childs up to multiple internal levels.

{
  "Tree": {
    "node": [
      {
        "node": [
          {
            "node": null
          },
          {
    
            "node": [
              {
                "node": null
              }
            ]
          }
        ]
      },
      {
        "node": [
          {
            "node": null
          },
          {
            "node": null
          },
          {
            "node": null
          }
        ]
      }
    ]
  }
}
like image 893
Amit Bhavsar Avatar asked May 16 '17 09:05

Amit Bhavsar


1 Answers

I recommend KJExpandableTableTree library if you want to create dynamic treestructure using JSON in UITableview.

  • It also provides static initialization.
like image 63
Premal Khetani Avatar answered Nov 03 '22 20:11

Premal Khetani