• 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: NSDocument for a multi-window application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Help not working using key equivalent
  • Next by Date: Re: Problem converting pdfs to jpegs with Cocoa & Quartz...
  • Previous by thread: Re: NSDocument for a multi-window application
  • Next by thread: multiple inheritance equivalent in Core Data?
  • Index(es):
    • Date
    • Thread