• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Template Type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Template Type


  • Subject: Re: Cocoa Template Type
  • From: "David P. Henderson" <email@hidden>
  • Date: Tue, 26 Jun 2001 14:07:34 -0400

On Tuesday, June 26, 2001, at 12:11 , 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?

Does your application allow users to save and open more than one document at a time? Just because an app has multiple windows does not mean that it allows multiple docs, and one document could also have more than one window associated with it.

The difference between the templates is that the Doc based one sets up a few house keeping issues for you based on using the NSDocument, NSDocumentController and NSWindowController model.

Which one you should use depends on whether your users can work with more than one independent data set at a time for example documents in a spread sheet (Cocoa Document based App). Or whether they are limited to one independent data set at a time (Cocoa App).

Dave
--
Chaos Assembly Werks
"Beautiful bodies and beautiful personalities rarely go together."
- Carl Jung


  • Follow-Ups:
    • Re: Cocoa Template Type
      • From: Brian Howard <email@hidden>
References: 
 >Cocoa Template Type (From: email@hidden)

  • Prev by Date: MP, OpenGL, and Frame Interrupts
  • Next by Date: Re: Cocoa Template Type
  • Previous by thread: Cocoa Template Type
  • Next by thread: Re: Cocoa Template Type
  • Index(es):
    • Date
    • Thread