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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to