I am attempting to populate a row of a Tableview with data from an array but the function below is never called :

 override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as UITableViewCell

        // Configure the cell...


        cell.textLabel?.text = arrayOfDictionaryPlaces[indexPath.row]["name"];
        println("the Cell");

        return cell
    }

I have set the prototype cell reusable identifier as 'Cell' and have control over the table by settings its class (viewDidLoad does get called).

Any input appreciated.

Related posts

Recent Viewed