1
私はSwiftを全く新しくしており、開発の経験はありません。私はSwiftのテーブルビューを単純にしようとしていますが、エディタのプレースホルダをソースファイルに残しています。あなたの問題がどこにあるかシンプルなUITableViewでソースファイルエラーのエディタプレースホルダ
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: <#T##IndexPath#>) as! CustomCell
cell.photo.image = images[indexPath.row]
cell.Name.text = names[indexPath.row]
cell.Job.text = jobs[indexPath.row]
return cell
}
乾杯は、私はそのわずかな方法は、それをコピーして貼り付けたと思います! let cell = tableView.dequeueReusableCell(withIdentifier: "cell"、for:IndexPath)を! CustomCell –
これはエラーが発生する行です。 –
indexPath、indexPathではありません – Mozahler