Re: A button, an arrayController and a tableView....

2011-10-28 Thread Jens Alfke
On Oct 26, 2011, at 7:02 PM, R wrote: > If I don't pre-select the row, it takes two clicks of the button to > register the correct object. The first click will register the > previously selected row. It's like the button is at a higher priority > than the selected row. Sounds like the button’s

A button, an arrayController and a tableView....

2011-10-28 Thread R
I've got a column of buttons in a tableView. I don't allow multiple row selections. A click of the button fires a method which says. id obj; obj=[[anArrayController selectedObjects] objectAtIndex:0]; NSLog(@"the object: %@",obj); If I don't pre-select the row, it takes two clicks of the but