Re: My file owner isn't getting connected
Re: My file owner isn't getting connected
- Subject: Re: My file owner isn't getting connected
- From: email@hidden
- Date: Wed, 08 May 2002 16:04:12 -0700
Brendan Younger wrote:
|You don't want to have an instance of LayoutController inside your nib
|file. ... What you should do is delete the instance inside the
|nib, set the class of the File's Owner to your window controller
|subclass (in the Inspector under "Attributes"), and connect all your
|actions and outlets to the File's Owner. Then, when the nib is loaded,
|your shared controller will be properly initialized.
According to the original post, his nib file is already set up exactly the way you propose:
|> The Nib file has only the file
|> owner (which is of type LayoutController) and the window itself.
Assuming reality is as he describes it, there is only the one LayoutController object in the nib file.
I'd be surprised if things can go as badly wrong as they appear to be without messages being written to the log. Are there any messages, and, if so, what do they say?
Glen Fisher
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.