title: Value of type 'UIView' has no member 'tableView'
body: <p>I have the error:</p>
  
  <blockquote>
    <p>Value of type 'UIView' has no member 'tableView'</p>
  </blockquote>
  
  <p>occur when I attempt to change the background of the tableView in the <code>viewWillAppear</code> method.</p>
  
  <p>I expected the table view would already be initialised from the <code>viewDidLoad</code> method.</p>
  
  <p>Where should I be trying to change the colours for the tableview? Should I also be changing the other background colours in the same place?</p>
  
  <pre><code>class settingsViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
  
    override func viewDidLoad() {
      super.viewDidLoad()
  
      // Table view setup
      let tableView = UITableView(frame: view.bounds, style: .Plain)
      tableView.delegate = self
      tableView.dataSource = self
      tableView.registerClass(settingsCell.self, forCellReuseIdentifier: NSStringFromClass(settingsCell))
      view.addSubview(tableView)
  
    }
  
    override func viewWillAppear(animated: Bool) {
      super.viewWillAppear(true)
  
      if nightMode == true {
        view.backgroundColor = UIColor.blackColor()
        view.tableView.backgroundColor = UIColor.blackColor() // Error here..
      }
    }
  
    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return settings.count
    }
  
    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCellWithIdentifier(NSStringFromClass(settingsCell), forIndexPath: indexPath) as! settingsCell
  
      // Fetch setting
      let cellSetting = settings[indexPath.row]
  
      // Configure Cell
      cell.textLabel?.text = cellSetting.name
  
      return cell
    }
  }
  </code></pre>