Re: NSDocumentController singleton problem, part 2
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.