Thank you, Jens.  That did the trick, though it took me a couple of
bonehead (no offense meant to any Minbari reading this list) false runs
to figure it out.

R,
John

> -----Original Message-----
> From: Jens Alfke [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 11, 2008 2:54 PM
> To: john darnell
> Cc: cocoa-dev@lists.apple.com
> Subject: Re: Loading a nib
> 
> 
> On 11 Jun '08, at 12:43 PM, john darnell wrote:
> 
> > I stepped through
> > showNewDialog and initWithWindowNibName so I know that that code is
> > being executed, but the second window never makes an appearance.
> 
> My first guess would be that, in NewDialogController.nib, the "window"
> outlet of the file's owner (the window controller) isn't wired up to
> the window. That would prevent NSWindowController from being able to
> find the window or display it.
> 
> (While you're in there, also make sure that the window's "delegate"
> outlet is wired back to the File's Owner; various things go wrong if
> it's not.)
> 
> This may not be your fault; I've noticed this happening to me lately
> and I believe that in IB 3 the "Cocoa Window" nib template doesn't
> have those outlets hooked up, unlike in the past. Known bug?
> 
> -Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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