I am working with a UITableView in a normal UIViewController. For some reason, the text of the top cell in my TableView is always colored gray.

I have been trying to figure out what causes that cell to be gray, but don't know what it is. The data in my tableView is sourced from an array called *fileList* that gets refreshed during both viewWillAppear and viewDidAppear. 

Why is the top cell always gray with this code? 

(And it does happen both with nothing in the fileList and with many things in the fileList)

```
//MARK: - TableView
extension ViewController: UITableViewDataSource, UITableViewDelegate {
func numberOfSectionsInTableView(tableView: UITableView) -> Int {
    return 1
}

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
    if fileList.count == 0 {
        return 1
    } else {
        return fileList.count
    }
}

internal func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
    if fileList.count == 0 {
        let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
        cell.isUserInteractionEnabled = false
        cell.accessoryType = UITableViewCellAccessoryType.none
        cell.textLabel?.text = "No documents found"
        cell.textLabel?.textAlignment = .center
        cell.textLabel?.textColor = UIColor.black
        return cell
    } else {
        let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
        cell.isUserInteractionEnabled = true
        cell.accessoryType = UITableViewCellAccessoryType.disclosureIndicator
        cell.textLabel?.text = (fileList[indexPath.row])
        cell.textLabel?.textAlignment = .left
        cell.textLabel?.textColor = UIColor.black
        return cell
    }
}

}

```