用JSON数据填充TTTableViewController
问题描述:
嗨找不到任何简单的教程/文档关于如何通过数据模型使用远程JSON数据填充TTTableViewController。用JSON数据填充TTTableViewController
我跟着本教程创建我的表视图与当地DATAS:http://www.raywenderlich.com/656/introduction-to-three20
若要用远程数据照相馆,我用这个教程:http://www.raywenderlich.com/1430/how-to-use-the-three20-photo-viewer和它的伟大工程。但我不能为tableView重现它!
如果有人知道“如何用远程JSON填充TTTableViewController”的好教程,请让我知道!
谢谢!
答
在Three20 Samples https://github.com/facebook/three20/tree/master/samples/中,TTTwitter示例应用使用TTURLRequestModel
来填充TTTableViewController
,其中使用从Twitter检索的远程JSON数据。