Re: NSOutlineView: Which row is selected.

2008-09-17 Thread John Cebasek
Hi All: I guess I didn't have all the required interfaces implemented. I missed numberOfRowsInTable:NSTableView. John On 16-Sep-08, at 7:24 PM, Corbin Dunn wrote: On Sep 16, 2008, at 4:17 PM, John Cebasek wrote: Hi Nick, et al: Well, I did use [self selectedRow], in a previous version

Re: NSOutlineView: Which row is selected.

2008-09-16 Thread Andy Lee
On Sep 16, 2008, at 7:17 PM, John Cebasek wrote: Well, I did use [self selectedRow], in a previous version of the code. but that also returned -1. I don't think I'm doing anything 'weird', the view has a delegate and a datasource which are in the same class connected in the xib. The awakeFr

Re: NSOutlineView: Which row is selected.

2008-09-16 Thread Corbin Dunn
On Sep 16, 2008, at 4:17 PM, John Cebasek wrote: Hi Nick, et al: Well, I did use [self selectedRow], in a previous version of the code. but that also returned -1. I don't think I'm doing anything 'weird', the view has a delegate and a datasource which are in the same class connected in

Re: NSOutlineView: Which row is selected.

2008-09-16 Thread John Cebasek
Hi Nick, et al: Well, I did use [self selectedRow], in a previous version of the code. but that also returned -1. I don't think I'm doing anything 'weird', the view has a delegate and a datasource which are in the same class connected in the xib. The awakeFroNib message populates the list.

Re: NSOutlineView: Which row is selected.

2008-09-14 Thread Nick Zitzmann
On Sep 14, 2008, at 9:58 AM, John Cebasek wrote: I've got an NSOutlineView and am trying to determine which row is selected. I thought [super selectedRow]; (calling NSTableView's selectedRow method) would do the trick, but all I'm getting back from that call is -1. How does one determine

NSOutlineView: Which row is selected.

2008-09-14 Thread John Cebasek
Hi All: Noobie question follows: I've got an NSOutlineView and am trying to determine which row is selected. I thought [super selectedRow]; (calling NSTableView's selectedRow method) would do the trick, but all I'm getting back from that call is -1. How does one determine which row is se