• 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: NSWindow reference remains null after window did load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow reference remains null after window did load


  • Subject: Re: NSWindow reference remains null after window did load
  • From: Daniel Child <email@hidden>
  • Date: Tue, 28 Jul 2009 14:06:53 -0400

Actually, once I have init'd the window controller and set up the model data, I call showWindow on the controller. Unchecking visible at launch doesn't seem to make any difference.

On Jul 28, 2009, at 11:47 AM, Graham Cox wrote:

Visible at launch is checked (ON)


Which is almost never what you want. Windows should generally be loaded on demand by the app under the direction of their window controller. A window visible at launch won't necessarily even have a controller.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: NSWindow reference remains null after window did load (From: Daniel Child <email@hidden>)
 >Re: NSWindow reference remains null after window did load (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Panning a View
  • Next by Date: Re: Panning a View
  • Previous by thread: Re: NSWindow reference remains null after window did load
  • Next by thread: Re: NSWindow reference remains null after window did load
  • Index(es):
    • Date
    • Thread