[BUG?] NSOutlineView's -rowForItem does *not* work
[BUG?] NSOutlineView's -rowForItem does *not* work
- Subject: [BUG?] NSOutlineView's -rowForItem does *not* work
- From: "Jean-Olivier Lanctôt-D." <email@hidden>
- Date: Sat, 13 Dec 2003 21:27:43 -0500
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.