RE: Loading a nib
RE: Loading a nib
- Subject: RE: Loading a nib
- From: "john darnell" <email@hidden>
- Date: Wed, 11 Jun 2008 16:18:08 -0500
- Thread-topic: Loading a nib
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@hidden]
> Sent: Wednesday, June 11, 2008 2:54 PM
> To: john darnell
> Cc: email@hidden
> 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 (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