0
votes

I working with swift 4 for macOS and have a NSTableView with custom Cells. In my row are two textfields (style: borderless and no background color)

Normally, you click on a textfield and it will directly be editable. In my case, you click on the textfield and after a short delay it will be editable.

But I don't understand why is there such a delay. Have anybody an idea?

Better Example

My tableview with Custom Cell View (delay problem) enter image description here

Another tableview without Custom Cell View (no delay problem) enter image description here

I hope you can see the difference. I do both situations with the same steps.

  1. Select Row (click)
  2. Select textfield (click)
1

1 Answers

0
votes

Seems like you’re selecting the table view cell first. Try tableView.allowsSelection = false