Re: Main window disappears. Sometimes.
Re: Main window disappears. Sometimes.
- Subject: Re: Main window disappears. Sometimes.
- From: "Michael Ash" <email@hidden>
- Date: Tue, 3 Jun 2008 12:50:35 +0800
On Tue, Jun 3, 2008 at 10:47 AM, William Bumgarner <email@hidden> wrote:
> Certainly, there could be better support -- a better out of the box pattern -- for dealing with the loading of auxiliary nibs.
NSWindowController and NSViewController handle approximately the
totality of auxiliary nib-loading needs. I would go so far as to say
that if you have a nib which doesn't fit into one of those two, you're
doing something wrong and should rebuild it. The problem with them is
simply that many people don't know about them, or don't know how to
use them. It took me a couple of years before I really realized that
every window should have its own NSWindowController which loads the
nib for that one window. Once I figured it out, life got a lot easier.
Mike
_______________________________________________
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