• 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: NSWindows/NSPanels/NSDrawers are NIL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindows/NSPanels/NSDrawers are NIL


  • Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 10 Jul 2006 14:34:23 -0400


Please post your code.

--
I.S.


On Jul 10, 2006, at 2:30 PM, San Saeteurn wrote:

Hi,

I am trying to open an NSPanel using makeKeyAndOrderFront: but the window won't open. I do this at runtime when the user clicks a button.

When I jumped into the debugger, the value for the NSPanel was nil. After reading a post on this mailing list about another person experiencing a similar problem except their panel opens in awakeFromNib: while mine doesn't. theya re using an existing NIB while I am creating mine.

OK, I have several panels and drawers (6 to be exact). Prior to this panel failing to be initialized, the others initialized and opened just fine. In an attempt to work around this issue, instead of using a panel, I tried a drawer. But that was not initialized either when i tried it. then a standard window, but that failed.

To sum up the problem:
I have several panels and drawers, but any new panels/drawers/or windows I add gets initialized to NIL. The old ones work fine. Any ideas?


-San Saeteurn


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


This email sent to email@hidden

_______________________________________________ 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
References: 
 >NSWindows/NSPanels/NSDrawers are NIL (From: "San Saeteurn" <email@hidden>)

  • Prev by Date: NSWindows/NSPanels/NSDrawers are NIL
  • Next by Date: ANN: CamelBones 1.0
  • Previous by thread: NSWindows/NSPanels/NSDrawers are NIL
  • Next by thread: Re: NSWindows/NSPanels/NSDrawers are NIL
  • Index(es):
    • Date
    • Thread