Re: To Document-Base or not Document-Base...
Re: To Document-Base or not Document-Base...
- Subject: Re: To Document-Base or not Document-Base...
- From: mw <email@hidden>
- Date: Fri, 03 Jan 2003 12:43:01 -0500
Wow, that is quite a coincidence that you suggest that book. I actually just
got back from buying the book from my bookstore when I read your e-mail.
There are some great examples for what I need in that chapter. Thanks for
pointing them out to me!
mw
On 1/3/03 10:41 AM, "zauhar" <email@hidden> wrote:
>
The book by Anguish, et al. gives an example (Chapt,. 9) of setting up a
>
document-based application from scratch (NOT using the PB document-based
>
approach). Essentially they produce a scaled-down document-based app,
>
implementing everything explicitly. You might want to look at that, if
>
you have the book.
>
>
All the best,
>
>
Randy
>
>
On Friday, January 3, 2003, at 10:02 AM, mw wrote:
>
>
> Hello,
>
>
>
> I am not sure if I should make my application document-based or not. It
>
> doesn't handle documents in the normal way, persay. There is a central
>
> database per user that takes care of loading and unloading settings and
>
> "documents" (that aren't really individual documents... this is hard to
>
> explain) automatically. It isn't like TextEdit where its main window
>
> revolves around typing and formatting and saving/opening/printing, etc.
>
> However, there WILL be windows for typing in contents of things such as
>
> emails, notes, etc.
>
>
>
> So, the final question is: should I create my project as a
>
> document-based
>
> app in PB, or should I just have a normal application. Oh, also, I want
>
> to
>
> have complete control over which window appears at the startup of the
>
> application (it won't be a main window or anything). In a document-based
>
> app, I think I can overload
>
> - (BOOL)applicationShouldOpenUntitledFile:(NSApplication
>
> *)theApplication
>
> in my application delegate, but I haven't test to see if it actually
>
> keeps
>
> Cocoa from automatically opening windows at startup or not.
>
>
>
> TIA,
>
> mw
>
> _______________________________________________
>
> 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.
>
>
>
>
>
>
Randy J. Zauhar, PhD
>
Assoc. Prof. of Biochemistry
>
Director, Graduate Program in Bioinformatics
>
Dept. of Chemistry & Biochemistry
>
University of the Sciences in Philadelphia
>
600 S. 43rd Street
>
Philadelphia, PA 19104
>
>
Phone: (215)596-8691
>
FAX: (215)596-8543
>
E-mail: email@hidden
>
Web: http://tonga.usip.edu/zauhar
>
>
>
Discussion after watching Disney's "Lilo & Stitch":
>
>
DAD: "But why did the space aliens speak English, as opposed to French,
>
or Swahili? And why did the one alien speak English with an Eastern
>
European accent? I don't get it."
>
>
CATHERINE (age 7): "That's 'cause you don't have a good cartoon brain."
_______________________________________________
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.