• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My file owner isn't getting connected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: My file owner isn't getting connected (From: Brendan Younger <email@hidden>)

  • Prev by Date: Re: My file owner isn't getting connected
  • Next by Date: Re: Never Mind the File Extensions
  • Previous by thread: Re: My file owner isn't getting connected--Me stupid
  • Next by thread: NSOpenGLView inside NSScrollView query
  • Index(es):
    • Date
    • Thread