title: Swift Table View taking too much time to load JSON data
body: <p>There are total number of 114 data to fetch from web through API request. But it takes 10-15 seconds to load the data. I tried DispatchQueue() but found no improvement. ViewDidLoad and JSON parse code:</p>
  <pre><code>func parseJSON()  {
      let url = URL(string: &quot;https://api.alquran.cloud/v1/quran/ar.alafasy&quot;)
      guard url != nil else{
          print(&quot;URL Founr Nill&quot;)
          return
      }
      URLSession.shared.dataTask(with: url!) { (data, response, error) in
          if error == nil &amp;&amp; data != nil{
              do{
                  let response = try JSONDecoder().decode(Surah.self, from: data!)
                  self.surahName = response.data.surahs
                  DispatchQueue.main.async {
                      self.tableView.reloadData()
                      self.tableView.tableFooterView = UIView(frame: .zero)
                  }
              }catch{
                  print(error)
              }
          }
      }.resume() 
  }
  </code></pre>
  <p>Table View code:</p>
  <pre><code>func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell:QuranAudioCell = tableView.dequeueReusableCell(withIdentifier: &quot;cell&quot;) as! QuranAudioCell
      let surah = surahName[indexPath.row]
      cell.nameLbl.text = surah.englishName
      cell.arabicNameLbl.text = surah.name
      return cell
  }
  </code></pre>