2

I want to detect click on cell in NSTableView so I did:

tableView.target = self;
tableView.action = @selector(tableViewClicked:);

but I saw that another @IBAction's that connected to the cell does not work.

what could be the problem? thanks

ULAQ
  • 41
  • 1
  • 1
  • 4
  • Can you tell a bit more? Is the cell a cell view? Is `tableViewClicked:` not called? Is the action of the cell not called? To which control is the cell action connected? – Willeke Jul 11 '17 at 10:23
  • @Willeke The cell has TextFields, i did connect action between the cell and the TextField, but the action is not called, even not stopped with breakpoint. What do you mean by `To which control is the cell action connected?` – ULAQ Jul 11 '17 at 11:58
  • I meant the text field control. Are the text fields editable? – Willeke Jul 12 '17 at 07:09
  • @Willeke sure. it's works if I put in comment those lines – ULAQ Jul 14 '17 at 07:05
  • The action of the text fields only works when connected to the delegate of the table view. – Willeke Jul 14 '17 at 12:06

0 Answers0