title: Swift 3: Custom Cell not displaying data
body: <p>Im receiving a JSON array from <code>php</code> and trying to passing data to table view. However, my <code>tableview</code> does not display the data.</p>
  
  <pre><code>class test1ViewController: UIViewController  , UITableViewDataSource, UITableViewDelegate {
  
  
  var TableData:Array&lt; String &gt; = Array &lt; String &gt;()
  
  
  
  public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int
  {
  
      return TableData.count
  
  }
  
  public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell
  {
  
  
      let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as! testTableViewCell
  
      cell.mylabel1.text = TableData[indexPath.row]
      return cell
  
  }
  
   func get_data_from_url(_ link:String)
  {
      let url:URL = URL(string: link)!
      let session = URLSession.shared
  
      let request = NSMutableURLRequest(url: url)
      request.httpMethod = "GET"
      request.cachePolicy = NSURLRequest.CachePolicy.reloadIgnoringCacheData
  
  
      let task = session.dataTask(with: request as URLRequest, completionHandler: {
          (
          data, response, error) in
  
          guard let _:Data = data, let _:URLResponse = response  , error == nil else {
  
              return
          }
  
          print(data!)
          self.extract_json(data!)
  
  
      })
  
      task.resume()
  
  }
  
  func extract_json(_ data: Data)
  {
  
  
      let json: Any?
  
      do
      {
          json = try JSONSerialization.jsonObject(with: data, options: [])
        //  print(json!)
  
      }
      catch
      {
          return
      }
  
      guard let data_list = json as? NSArray  else
      {
          return
  
  
      }
  
      if let countries_list = json as? NSArray
      {
          for i in 0 ..&lt; data_list.count
          {
              if let country_obj = countries_list[i] as? NSDictionary
              {
  
                  if let name = country_obj["name"] as? String
                  {
                      if let age = country_obj["age"] as? String
                      {
                          TableData.append(name + age)
  
  
  
  
                      }
                  }
              }
          }
      }
  
  
  
  
  }
  </code></pre>
  
  <p>When the array gives initial values like 
  animals = <code>["hinno", "ali", "khalil"]</code>,
  the values appear to custom cell, but when i take the data from a server and do the json conversion, nothing appears.</p>