Re: Cocoa Template Type
Re: Cocoa Template Type
- Subject: Re: Cocoa Template Type
- From: Brian Howard <email@hidden>
- Date: Tue, 26 Jun 2001 15:32:22 -0400
Thanks, I'm going to look at NSDocument and try and understand the
methods there. In the meantime, however, the question comes up as to
what do you mean exactly by "document"? Do you mean _any_ file saved to
disk, or just files of the "letter to Aunt Jane" or "recipe for killer
BBQ" sort? Let's say that I have two data entry windows, one to add
information for a new student and another for adding a new course; I
need to save this information, but I would call that a "FILE" and not a
document. On the other hand if I used the program to produce a list of
the students in a given course, I'd call that a "DOCUMENT." I'm sorry
for being so picky here, but I DO UNDERSTAND just how dumb a computer is
and any sort of ambiguity drives me nuts. Every time I try to ignore
ambiguity and just get on with it, as many suggested with my question on
pointers, the damn thing ALWAYS comes back to bite me on the butt. And
this stuff involves a LOT of sitting on one's butt!
Thanks again. . . Brian
On Tuesday, June 26, 2001, at 02:10 PM, Scott Herz wrote:
The question you need to ask yourself is if you want to use NSDocument.
If you're not saving documents, then you can probably simplify things
by not using it. I'd use the Cocoa App to get started and then create
other nibs for the other windows you need. It's always best to keep
your windows in different nibs.
Scott
On Tuesday, June 26, 2001, at 09:11 AM, email@hidden wrote:
Right now I'm trying to understand the difference between a Cocoa App
and a Cocoa Document based App. The program I'm working towards has
several data entry windows, and the user can ask for output
windows(charts, mostly), but they are not the sort that need to be
saved. I think this means I just want a straight Cocoa App template;
the only thing throwing me off, assuming I'm right about the template
in the first place, is that I want the user to be able to have several
of these data display windows open at once. My best guess now is that
I want to start with a straight Cocoa template and add a window
controller object. Am I on the right track here?
Thanks again everyone!
Brian E. Howard
Cocoa Cult Central
less confused than yesterday
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev