title: UITableViewController.tableView=nil when creating subclass and override loadView()
body: <p>I'am trying to subclass UITableViewController and perform custom view setup via overriding controller's <code>loadView()</code> method. I do that because I need <code>balanceView</code> on top of the table view and floating circle button at the bottom. I do things like that, because I'll need this "base" controller for group of different it's subclasses later, they all must have this two views, but they'll have completely different tableViews. Everything is loads correctly, but <code>tableView</code> property is nil in <code>viewDidLoad</code> and <code>viewDidAppear</code>, but tableViews datasource and delegate methods is called successfully! What I am doing wrong? (Maybe I need to subclass <code>UIViewController</code> instead?) Here is my code:</p>
  
  <p>This is my UITableViewController subclass loadView:</p>
  
  <pre><code>override func loadView() {
      super.loadView()
  
      let bView = UIView()
  
      balanceView = BalanceViewSwift()
      balanceView.translatesAutoresizingMaskIntoConstraints = false
      bView.addSubview(balanceView)
  
      tableView = UITableView(frame: .zero, style: .plain)
      tableView.translatesAutoresizingMaskIntoConstraints = false
      bView.addSubview(tableView)
  
      balanceView.addAnchorToSuperview(anchor: .top, margin: 0)
          .addAnchorToSuperview(anchor: .leading, margin: 0)
          .addAnchorToSuperview(anchor: .trailing, margin: 0).end()
  
      tableView.addAnchorToSuperview(anchor: .bottom, margin: 0)
          .addAnchorToSuperview(anchor: .leading, margin: 0)
          .addAnchorToSuperview(anchor: .trailing, margin: 0).end()
  
      balanceView.bottomAnchor.constraint(equalTo: tableView.topAnchor).isActive = true
  
      addButtonView = CircleButton()
      addButtonView.translatesAutoresizingMaskIntoConstraints = false
      addButtonView.backgroundColor = .red
      addButtonView.tintColor = .white
      addButtonView.setTitle("+", for: .normal)
      addButtonView.addTarget(self, action: #selector(BalanceTableViewController.addButtonTapped(_:)), for: .touchUpInside)
  
      bView.addSubview(addButtonView)
  
      addButtonView.addAnchorToSuperview(anchor: .bottom, margin: 16).addAnchorToSuperview(anchor: .trailing, margin: 16).end()
      addButtonView.heightAnchor.constraint(equalTo: addButtonView.widthAnchor).isActive = true
      addButtonView.widthAnchor.constraint(equalToConstant: 50).isActive = true
  
      tableView.delegate = self
      tableView.dataSource = self
  
      balanceView.addFundsButtonIsHidden = !balanceViewAddFundsButtonIsVisible
      addButtonView.isHidden = !circleBottomAddButtonIsVisible
  
      view = bView
  }
  </code></pre>