I am parsing data from a web api. A get a huge list of items and tableview takes 30 seconds to load and display the list. I tried append, but append takes time to load too. What is the efficient way to do this?
let url = "http://sampleapi.com/list"
Alamofire.request(.GET, url).responseJSON { (Request, response, json, error) -> Void in
if (json != nil){
var jsonObj = JSON(json!)
if let jsonResults = jsonObj["items"].arrayValue as [JSON]?{
self.itemList = jsonResults
self.tableView.reloadData()