ios - Add data from array to table cell -


i trying add value nsmutablearray table cell. when cells empty. if print in array printing data. can't data on cell.

    override func tableview(tableview: uitableview, cellforrowatindexpath indexpath: nsindexpath) -> uitableviewcell {         let cell : finaltableviewcell = tableview.dequeuereusablecellwithidentifier("cell") as! finaltableviewcell         cell.headinglabel!.text = self.headingarray[indexpath.row] string         var value: string = headingarray[indexpath.row] string         println(value)          println(self.finalmodeldata.valueforkey(value))          cell.informationlabel!.text = self.finalmodeldata.valueforkey(value) as? string          return cell      } 


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -