I have the problem that my TableViewController doesn't show the content of the cell(s). I have a button that loads the data which works but should also be shown in the cells. Did I forget something in the "vieDidLoad" function? You can find images from the Storyboard and the app at the end.
override func viewDidLoad() {
    super.viewDidLoad()
    tableView.register(UINib(nibName: "TableViewCell", bundle: Bundle.main), forCellReuseIdentifier: "TableViewCell")
}
override func viewWillAppear(_ animated: Bool) {
    let btn = UIButton(frame: CGRect(x: 0, y: 25, width: self.view.frame.width, height: 50))
    btn.backgroundColor = UIColor.cyan
    //btn.setTitle("Add new Dummy", for: UIControlState)
    btn.addTarget(self, action: #selector(addDummyData), for: UIControlEvents.touchUpInside)
    self.view.addSubview(btn)
}
@objc func addDummyData() {
    RestApiManager.sharedInstance.getRandomCar { (json: NSArray?) in
        if let results = json {
            for entry in results {
                self.items.append(CarObject(json: entry as! Dictionary))
            }
            DispatchQueue.main.async {
                self.tableView.reloadData()
            }
        }
    }
}
func tableView(tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
var cell = tableView.dequeueReusableCell(withIdentifier: "TableViewCell", for: indexPath) as! TableViewCell
    if cell == nil {
        cell = UITableViewCell(style: UITableViewCellStyle.value1, reuseIdentifier: "TableViewCell") as! TableViewCell
    }
    let car = self.items[indexPath.row]
    print(car.pictureURL)
    if let url = NSURL(string: car.pictureURL) {
        if let data = NSData(contentsOf: url as URL) {
            cell.carImage?.image = UIImage(data: data as Data)
        }
    }
    // Create Swift / Cocoa Touch file with carImage etc. Actionbutton
    cell.carTitleLabel.text = "test"//car1
    cell.carPriceLabel.text = car.carPrice
    print("test3")
    return cell
}
}
 
     
     
    