• 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: The Strange Case of the Disappearing Table View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Strange Case of the Disappearing Table View


  • Subject: Re: The Strange Case of the Disappearing Table View
  • From: Keith Blount <email@hidden>
  • Date: Mon, 30 Oct 2006 09:48:58 -0800 (PST)

Thank you very much for your reply. I think I have this solved - sort of. It seems that I had been bitten by a strange .nib file bug - the third of the kind I have been bitten by in the same project (which is a big project and all bugs were in different .nib files). I copied the contents of the NSPanel in the .nib - table view, tab view and all - and pasted it into a fresh NSPanel in the same .nib. Then I deleted the original panel. The bug has now magically gone away. Recently I also had a bug whereby my app would crash if the user tried to drag the search field toolbar item from the customisation palette to the toolbar, and the crash traces indicated that this was caused by the NSMenu used for the search menu template. When I deleted the NSMenu from the .nib file and re-created it (identically), this crashing bug went away. And I also had a problem in another .nib file where the scroll buttons of a scroll view ceased to work (and mouse scrolling didn't work either). When I deleted the NSScrollView and re-created it in exactly the same way, everything worked fine. So it seems that .nib files can become a bit dodgy in some cases... Weird, but at least everything seems okay now.

Thanks again for taking the time to reply.
All the best,
Keith

----- Original Message ----
From: Uli Kusterer <email@hidden>
To: Keith Blount <email@hidden>
Cc: email@hidden
Sent: Sunday, October 29, 2006 7:22:35 PM
Subject: Re: The Strange Case of the Disappearing Table View

Am 29.10.2006 um 16:11 schrieb Keith Blount:
> I have a sheet in my app that contains an NSTabView which in turn
> contains an NSTableView. Something very curious is happening.
> Whenever I bring up the sheet, everything looks fine. But if I try
> to select a row in the table view, the table view disappears. In
> fact, it's not only the table view that disappars - the whole tab
> view disappears and I'm just left with an empty sheet with a couple
> of buttons on it. In fact the sheet makes no difference to anything
> - I just tried running this as a normal panel, and still this happens.

  Maybe you're doing something odd in the table view delegate? Or are
you creating any of this in code? Are you perhaps over-releasing an
object? I personally haven't heard of something like that, except in
one case: When I was accidentally accessing views from a thread other
than the main thread.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de








 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: RE: RE: swizzling a class to a subclass inorder to add ivars (& methods) to a class
  • Next by Date: [moderator] Re: swizzling a class to a subclass inorder to add ivars (& methods) to a class
  • Previous by thread: Re: The Strange Case of the Disappearing Table View
  • Next by thread: Owner/Group changes depending on which volume you're booted from?
  • Index(es):
    • Date
    • Thread