unresolved identifier in Swift -


i can not resolve problem in swift , xcode

error swift use of unresolved identifier

// configure cell...

    cell.textlabel?.text = restaurantnames[indexpath.row]      cell.thumbnailimageview.image = uiimage(named: restaurantimages [indexpath.row])      return cell  } 

in cellforrowatindexpath method, have identify tableviewcell storyboard id, in case cell

override func viewdidload() {      tableview.registerclass(customtableviewcell.self, forcellreuseidentifier: "cell") }  func tableview(tableview: uitableview, cellforrowatindexpath indexpath: nsindexpath)->uitableviewcell {     var cell:customtableviewcell? = tableview.dequeuereusablecellwithidentifier("cell", forindexpath: indexpath) as? customtableviewcell      cell!.textlabel?.text = restaurantnames[indexpath.row]     cell!.thumbnailimageview.image = uiimage(named: restaurantimages [indexpath.row])     return cell! } 

Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -