title: UITableView() not showing in UIViewController while trying to add it programmatically
body: <p>So basically I am trying to use a UITableView within a ViewController that will be referencing views from other UIViews. </p>
  
  <p>All the views are showing and everything seems fine except for the TableView. I have set the tableView.datasource and tableView.delegate to self. I also checked if I have used the same reuse identifier.</p>
  
  <p>Error: All views are being rendered but the table view is just black. Here is the code:</p>
  
  <pre><code>class MController: UIViewController, UITableViewDelegate, UITableViewDataSource{
  
      let customNavBar = NavBarView()
      let statusBarCover = UIView()
      var tableView = UITableView()
      lazy var kView: UIView = {
         return InputView(frame: .init(x: 0, y: 0, width: view.frame.width, height: 100))
      }()
  
      override var canBecomeFirstResponder: Bool {
          return true
      }
  
      override var inputAccessoryView: UIView? {
          get {
              return kView
          }
      }
  
      override func viewDidLoad() {
          super.viewDidLoad()
          tableView.delegate = self
          tableView.dataSource = self
          tableView.contentInset.top = 120
          tableView.verticalScrollIndicatorInsets.top = 120
          tableView.keyboardDismissMode = .interactive
          tableView.register(UITableViewCell.self, forCellReuseIdentifier: "id")
  
          view.addSubview(customNavBar)
          customNavBar.backgroundColor = .yellow
          customNavBar.anchor(top: view.safeAreaLayoutGuide.topAnchor, leading: view.leadingAnchor, bottom: nil, trailing: view.trailingAnchor, size: .init(width: 0, height: 120))
  
          view.addSubview(statusBarCover)
          statusBarCover.backgroundColor = .blue
          statusBarCover.anchor(top: view.topAnchor, leading: view.leadingAnchor, bottom: view.safeAreaLayoutGuide.topAnchor, trailing: view.trailingAnchor)
      }
  
      func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          10
      }
  
      func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCell(withIdentifier: "id", for: indexPath)
          cell.textLabel?.text = "Testing"
          return cell
      }
  }
  </code></pre>