Re: Receiving notification of New or Open document?
Re: Receiving notification of New or Open document?
- Subject: Re: Receiving notification of New or Open document?
- From: Justin Spahr-Summers <email@hidden>
- Date: Wed, 23 Feb 2005 16:14:48 -0600
The best way to do it for multiple document types would probably be to
subclass NSDocumentController and override methods that create a new
document.
On Wed, 23 Feb 2005 09:40:50 -0800, Matt Neuburg <email@hidden> wrote:
> On Mon, 21 Feb 2005 23:26:21 -0800, Jason Staczek <email@hidden>
> said:
>
> >My app has a main controller that's always up, regardless of whether
> >there's a doc open. What's the right way for the controller to be
> >notified when a new document is created or an existing document is
> >opened?
>
> The right way when there can be such a thing as a "new document" or an
> "existing document" is to use the document architecture, in which case the
> problem is solved for you (NSDocument). m.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden