Address of a table view's cell


a user clicks somewhere in a table view’s text cell. Is there a way to find out where (i.e. for example identifier) to set a value via code?


When you say “where”, what do you mean? The physical point in a cell, or the cell?

I think about the cell itself.

To make my project more understandable:

  • The user clicks in a cell to make it editable
  • The user opens a floating panel with buttons
  • By clicking a button a pre-defined text should appeare in the clicked cell (to make the user’s input more comfortable).

That’s all, nothing more, but I can’t do it.


Try setting a table delegate and implementing tableView:shouldEditTableColumn:row:.

Thank you Shane,

it works.