• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [SOLVED] NSOutlineView's -rowForItem does *not* work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: [BUG?] NSOutlineView's -rowForItem does *not* work (From: Stéphane Sudre <email@hidden>)
 >Re: [BUG?] NSOutlineView's -rowForItem does *not* work (From: "Jean-Olivier Lanctôt-D." <email@hidden>)
 >Re: [BUG?] NSOutlineView's -rowForItem does *not* work (From: "Jean-Olivier Lanctôt-D." <email@hidden>)

  • Prev by Date: Re: [BUG?] NSOutlineView's -rowForItem does *not* work
  • Next by Date: Re: NSArray NSDictionary Tree Q.
  • Previous by thread: Re: [BUG?] NSOutlineView's -rowForItem does *not* work
  • Next by thread: Bundle for Mail
  • Index(es):
    • Date
    • Thread