title: Display JSON data in UITableView with swift 4 and Alamofire
body: <p>I'm new in Swift and i want your help please. I am doing an app parsing JSON data in swift like this:
  <a href="https://i.stack.imgur.com/x0lC5.jpg" rel="nofollow noreferrer">Project</a>
  And here is the code that I have write</p>
  
  <pre><code>import UIKit
  import Alamofire
  import SwiftyJSON
  
  class ViewController: UIViewController ,UITableViewDelegate,UITableViewDataSource{
  
      @IBOutlet weak var tableView: UITableView!
  
  var albumArray = [AnyObject]()
      var url = ("https://jsonplaceholder.typicode.com/photos")
  
          override func viewDidLoad() {
              super.viewDidLoad()
              // Do any additional setup after loading the view, typically from a nib.
  
                    Alamofire.request("https://jsonplaceholder.typicode.com/photos").responseJSON { (responseData) -&gt; Void in
                  if((responseData.result.value) != nil) {
                      let swiftyJsonVar = JSON(responseData.result.value!)
  //
                      if let resData = swiftyJsonVar[].arrayObject {
                          self.albumArray = resData as [AnyObject]; ()
  
                      }
                      if self.albumArray.count &gt; 0 {
                          self.tableView.reloadData()
                      }
                  }
              }
  
          }
      func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return albumArray.count
      }
  
      func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as? CostumTableViewCell
  
          let title = albumArray[indexPath.row]
          cell?.titleLabel?.text = title["title"] as? String
  
          return cell!
      }
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  
  }
  </code></pre>
  
  <p>The problem is that doesnt't have any error but does not display the data. Also you can see the JSON : <a href="https://jsonplaceholder.typicode.com/photos" rel="nofollow noreferrer">https://jsonplaceholder.typicode.com/photos</a></p>