• 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: "San Saeteurn" <email@hidden>
  • Date: Mon, 10 Jul 2006 13:48:05 -0700

No,
The outlets are being acted on during runtime. When the user clicks on a button.



From: Tomas Franzén <email@hidden>
To: San Saeteurn <email@hidden>
Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
Date: Mon, 10 Jul 2006 22:30:22 +0200

On 10 jul 2006, at 21.18, San Saeteurn wrote:
It is connected. I even went as far as deleting the panel and replacing it with a window and a drawer and back again. None of them works!

Are you by any chance trying to act on outlets from your controller's init method? Keep in mind that outlets are connected after init gets called. If this is the problem, try placing the code that does stuff with outlets to awakeFromNib instead of init.


Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/




_______________________________________________
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


  • Follow-Ups:
    • Re: NSWindows/NSPanels/NSDrawers are NIL
      • From: "I. Savant" <email@hidden>
  • Prev by Date: [OT] OS X Icon Designers
  • Next by Date: Re: NSWindows/NSPanels/NSDrawers are NIL
  • Previous by thread: Re: NSWindows/NSPanels/NSDrawers are NIL
  • Next by thread: Re: NSWindows/NSPanels/NSDrawers are NIL
  • Index(es):
    • Date
    • Thread