swift - Editor placeholder in source file error with simple UITableView -


i totally new swift , have no background experience in development. trying table view in swift keep getting error 'editor placeholder in source file.

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 } 

this problem is:

for: <#t##indexpath#>)  

just tab variable , type in:

indexpath 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -