• 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: NSDocumentController singleton problem, part 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocumentController singleton problem, part 2


  • Subject: Re: NSDocumentController singleton problem, part 2
  • From: Brad Oliver <email@hidden>
  • Date: Tue, 17 Dec 2002 15:58:12 -0600

On 12/17/02 12:01 PM, "matt neuburg" <email@hidden> wrote:

> If you can only have one document open at a time you're not really doing
> documents, so what do you need it for?

Actually, my app maps very closely to the NSDocument architecture. On the PC
side, it made use of the MFC single-document template. The hooks for marking
the document as edited, as well as the hooks for loading, saving and
prompting to save are all very nice and saved me quite a bit of coding (with
the caveat that they don't yet work for me as-is).

I don't have the book you referenced, but I'll check out the TextEdit
source. I never investigated that before as I would not have imagined that
it _didn't_ use the NSDocument stuff. But then again, this is my first Cocoa
app - what do I know? :-)

--
Brad Oliver
email@hidden
_______________________________________________
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.

  • Prev by Date: Re: superclass and awakeFromNib
  • Next by Date: Re: Help me please to find a job in Cocoa
  • Previous by thread: Re: NSDocumentController singleton problem, part 2
  • Next by thread: Re: NSDocumentController singleton problem, part 2
  • Index(es):
    • Date
    • Thread