Re: Document App or not?
Re: Document App or not?
- Subject: Re: Document App or not?
- From: email@hidden
- Date: Sun, 8 Feb 2004 15:07:30 -0500 (EST)
Multiple instances are really a good indicator, but personally I choose
Document based apps if I find myself writing a controller and an object
that is either instanciated (?sp god my spelling is horrid) by the
controller, or the object passes data to controllers for the view and the
main control and never really "does" anything on it's own except act as a
data storage bin for what the user is doing. (isn't that the definition of
a document?)
>
On Feb 8, 2004, at 8:35 AM, Moray Taylor wrote:
>
>
> I think when you deciding on if you need a document based app, or a
>
> non-document based one, the main issue is if the app will have
>
> multiple instances of it's window's, i.e. iTunes does not have
>
> multiple player windows, so it's not a Document based app, but OSX's
>
> Mail does let you have multiple viewer windows, which would suggest
>
> it's a document based app.
>
>
Umm, as far as I can tell on quick inspection, Mail is not
>
"document-based".
>
The main indicator is likely (loosely speaking) to be, will your
>
application open multiple windows, each of which is conceptually tied
>
to a file? In more general terms you might ask, will your application
>
take advantage of the design of the document architecture? If you're
>
writing an application that, say, presents data from a database, or a
>
messaging system (e.g. iChat), there is less likelihood that you'll
>
benefit from NSDocument et al.
>
>
mmalc
>
_______________________________________________
>
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.
_______________________________________________
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.