0

I've build a version of DrWhat's autocomplete, but I cannot get the clicks to register within the TableView.

I'm just trying to print a line to confirm at this point.

    func tableView(tableView: UITableView,
    didSelectRowAtIndexPath indexPath: NSIndexPath){
        println("Cell was clicked")
    }
Community
  • 1
  • 1
  • 3
    Did you set the `delegate`? – rebello95 Feb 28 '15 at 03:20
  • I was having a similar issue..............i hope this will help....http://stackoverflow.com/questions/38217789/didselectrowatindexpath-called-after-long-press – Cloy Sep 02 '16 at 05:41

1 Answers1

1

verify if you have assaigned the delegate and datasource for the tableview. you have several toutorials and simple explanations to do it.

have a look at it for an instance. http://www.tutorialspoint.com/ios/ios_ui_elements_tableview.htm

cocoa bean
  • 21
  • 3