Re: awakeFromNib
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>) |