Моя пользовательская ячейка не отображается в представлении моей таблицы, и я не нашел ничего, чтобы ответить на этот вопрос.
Вот моя раскадровка, которая содержит TableView: ![Storyboard](https://i.stack.imgur.com/BLorb.png)
Это мой listController:
extension MatchListViewController: UITableViewDataSource {
func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return matchArray.count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
guard let cell = tableView.dequeueReusableCell(withIdentifier: "MatchCell", for: indexPath) as? MatchTableViewCell else {
return UITableViewCell()
}
let match = matchArray[indexPath.row]
cell.configure(nomDuMatch: match.matchName, scoreFinal: match.finalScore)
return cell
}
}
(я настроил dataSourceDelegate по раскадровке)
идентификатор customCell верный, и я действительно не понимаю, почему ничего не появляется взапуск ..
Не стесняйтесь спрашивать меня больше фотографий / информации!
Редактировать:
Это результат: ![Result](https://i.stack.imgur.com/rtAir.png)