I have a NSTableView , i want to get the value present in the cell. I am having only one column so , i just need the row number
i can use this [tableView selectedRo
my 2 cents for Xcode 10/swift 4.2
func tableViewSelectionDidChange(_ notification: Notification) { guard let table = notification.object as? NSTableView else { return } let row = table.selectedRow print(row) }