Home  >  Q&A  >  body text

ios - swift JSON 数据如何处理反应到cell上面

处理好JSON数据后,应该怎么使用以及访问内部的信息反应到tableviewcell上面?

小弟不知道怎么处理json数据,教程上面用的是【“name”】但是我使用就出错了
need help

PHP中文网PHP中文网2741 days ago403

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 17:36:41

    After obtaining the data, save it in a class variable, then reload the table view. In the datasource method of the table view, access the class variable that holds the data to configure the cell.

    reply
    0
  • Cancelreply