• 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: awakeFromNib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib


  • Subject: Re: awakeFromNib
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 16 Jun 2008 09:04:49 -0700


On 16 Jun '08, at 8:27 AM, David Harper wrote:

After some exploration into NSWindowController methods, I found that invoking [... window] after initWithWindowNibName had the desired result.

Oh, I see what you mean now. Yes, NSWindowController loads the nib lazily. -initWithWindowNibName: only stores the name of the nib; it doesn't actually load the nib until something explicitly asks for the window object. What you're doing now is a fairly standard technique.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >awakeFromNib (From: David Harper <email@hidden>)

  • Prev by Date: Re: NSButton checkbox reports reverse state
  • Next by Date: Re: NSOutlineView threading problem
  • Previous by thread: awakeFromNib
  • Next by thread: QTMovieLayer never being released?
  • Index(es):
    • Date
    • Thread