У меня проблема, встроенная в контейнер TableViewController:
Ошибка: исключение NSException * "- [UITableViewController loadView] загрузил" PhO-Au-gvD-view-DU C -HK-jFo " nib, но не получил UITableView. " 0x0000000281a64900
'- [UITableViewController loadView] загрузил перо «MySubscriptionsViewController», но не получил UITableView.'
Я прочитал и все еще не делаю ' не знаю, что делать.
class ViewControllerSettings: UIViewController, UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 1
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
var cell : UITableViewCell? = tableView.dequeueReusableCell(withIdentifier: "cell")
if cell == nil {
cell = UITableViewCell(style: UITableViewCell.CellStyle.default, reuseIdentifier: "cell")
}
return cell!
}
Та же ошибка: Exception NSException * "[ setValue: forUndefinedKey:]: этот класс не соответствует кодированию значения ключа для ключа staticDataSource. "0x00000002807fda10