Na parte de estilização não poderia ter sido feito dessa forma:
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "nameCell", for: indexPath)
cell.textLabel?.text = names[indexPath.row]
cell.backgroundColor = .clear
cell.textLabel?.textColor = .white
return cell
}
??????