Re: NSDocument for a multi-window application
Re: NSDocument for a multi-window application
- Subject: Re: NSDocument for a multi-window application
- From: Matt Neuburg <email@hidden>
- Date: Mon, 09 May 2005 08:42:56 -0700
On Mon, 9 May 2005 16:20:28 +0200, Felix Schwarz
<email@hidden> said:
>I am pretty new to Cocoa and am currently evaluating all the nice
>technologies in it. However, I am not sure, whether to make use of
>the NSDocument class for this project. My application should have
>multiple windows, which - among other things, that can't be opened or
>saved - can *also* display and modify media files.
>
>I do now wonder, whether I should still make use of NSDocument or
>whether it will give me more headaches than save me time.
>
>Any comments on whether it is recommendable to use NSDocument for a
>multi-window (with equal content, just not what is usually a
>document) application rather than handling multiple windows, undo,
>etc. myself would be very welcome. Thanks in advance.
I would say not. If you don't need Open, Save, New, Untitled-1, "clean" and
"dirty" documents, automatic advice to save all "dirty" documents when
quitting, a particular document type that is unique to your application,
etc., etc., then just write an ordinary Cocoa app, not a document-based app.
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