Re: [BUG?] NSOutlineView's -rowForItem does *not* work
Re: [BUG?] NSOutlineView's -rowForItem does *not* work
- Subject: Re: [BUG?] NSOutlineView's -rowForItem does *not* work
- From: "Jean-Olivier Lanctôt-D." <email@hidden>
- Date: Sat, 13 Dec 2003 21:48:02 -0500
Also, -selectedRow always returns zero.
Wow. That's one impressive bug. Hmm.
Maybe I'm just too tired... I hope this really is something stupid..
Check IB connections... did all the usual "stupid error hunting"
tricks..
On Dec 13, 2003, at 9:27 PM, Jean-Olivier Lancttt-D. wrote:
First of all, this is what the doc tells me.
- (int)rowForItem:(id)item
Returns the row associated with item. Returns 1 if item is nil or
cannot be found.
Whatever I put as the item argument, the method always returns 0.
I even implemented -isEqual to the objects I'm using in the view...
Is this a known bug? I'm *sure* 100% the view indeed has the object
I'm looking for... (I checked, to make sure)
The view even successfully displays the items provided by the
datasource but strangely I'm getting this output:
2003-12-13 21:24:32.045 BurnoutMenuSaturn[600] (null)
when trying to
NSLog(@"%@", [itemsOutlineView itemAtRow:0]);
I replaced 0 by all kinds of numbers, nothing works.
Man, that's very strange.
--Jean-Olivier Lancttt-D.
http://www.clichesw.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--Jean-Olivier Lancttt-D.
http://www.clichesw.com
--Jean-Olivier Lancttt-D.
http://www.clichesw.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.