I am having trouble getting the selected row from my tableView, everything is connected fine (I think), as everything else works as it should......
the tableView is connected as an Outlet to File's Owner
and the content is bound to arrangedObjects on my ArrayController.
when I call:
in the following named method, attached to an NSButton
it always returns the last object that was added, and not the currently selected one?
Oh, I are using custom cells, if that may have any effect.(not sure why it would....)
this is driving me crazy.....
is there something else I should be doing?
the tableView is connected as an Outlet to File's Owner
and the content is bound to arrangedObjects on my ArrayController.
when I call:
Code:
[myTableView selectedRow];
Code:
- (IBAction)update:(id)sender
it always returns the last object that was added, and not the currently selected one?
Oh, I are using custom cells, if that may have any effect.(not sure why it would....)
this is driving me crazy.....
is there something else I should be doing?