我是新的Swift-IOS,下面是我的代码,我不知道我的朋友在他的Xcode上执行操作时没有问题,但是当我执行操作时遇到错误可以有人帮忙:
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "arkadas")!
cell.textLabel?.text = arkadasIsimleri[indexPath.row]
cell.detailTextLabel?.text = arkadasYaslari[indexPath.row]
return cell
}