Hi All,
I have a code which returns selected row for NStableView as under:
int status;
NSUInteger selectedRow = [tableView selectedRow];
if (selectedRow == 0)
return;
But, when i have not selected any row in table view or if the tableview is empty, it returns junk value. How can i tackle with this problem.