I am very new to the macOS
environment. I am detecting a click in NSTableView
using this method.
func tableView(tableView: NSTableView, shouldSelectRow row: Int) -> Bool {
}
Which works well and fine, but the problem is that when I click on the first time the tableView call this method and performs the corresponding action, when I click second time on the row, this method is not getting called. Something strange happening.
You guys have any thoughts? Do I have to deselect rows? I tried deselecting a row and deselecting all rows in this method, but that didn't help me. I am using a view based tableView