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: Matt Neuburg <email@hidden>
- Date: Wed, 23 Feb 2005 09:40:50 -0800
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.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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