FROM : Jens Alfke
DATE : Mon Jun 16 18:04:49 2008
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
DATE : Mon Jun 16 18:04:49 2008
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
| Related mails | Author | Date |
|---|---|---|
| David Harper | Jun 16, 17:07 | |
| David Harper | Jun 16, 17:27 | |
| Jens Alfke | Jun 16, 17:46 | |
| j o a r | Jun 16, 17:59 | |
| Jens Alfke | Jun 16, 18:04 |






Cocoa mail archive

