Re: [SOLVED] NSOutlineView's -rowForItem does *not* work
Re: [SOLVED] NSOutlineView's -rowForItem does *not* work
- Subject: Re: [SOLVED] NSOutlineView's -rowForItem does *not* work
- From: "Jean-Olivier Lanctôt-D." <email@hidden>
- Date: Sun, 14 Dec 2003 09:55:48 -0500
D'oh.
Sorry guys.
I was using a singleton with an instantied-in-ib object, thus using two
instances of the main controller.
sorry again
On Dec 14, 2003, at 9:42 AM, Jean-Olivier Lancttt-D. wrote:
OK, another update:
It is valid after -awakeFromNib is called
NSLog(@"%@", itemsOutlineView);
gives
2003-12-14 09:40:18.606 BurnoutMenuSaturn[957] <NSOutlineView:
0x341720>
so, like, the pointer gets reassigned by someone (not me, I search for
all "itemsOutlineView" and I did not see a re-assign typo)
so what is this all about?
On Dec 14, 2003, at 9:22 AM, Jean-Olivier Lancttt-D. wrote:
NSLogging itemsOutlineView gives:
2003-12-14 09:20:28.060 BurnoutMenuSaturn[834] (null)
It ***is*** connected in IB, tho :-(...
It displays the datasource's content, too!
I'm baffled. totally.
On Dec 14, 2003, at 5:08 AM, Stiphane Sudre wrote:
On dimanche, dicembre 14, 2003, at 03:48 AM, Jean-Olivier
Lancttt-D. wrote:
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..
What does:
p itemsOutlineView
gives in the debugger?
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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.