Skip navigation.
 
mlRe: NSDocumentController singleton problem, part 2
FROM : Brad Oliver
DATE : Tue Dec 17 22:58:12 2002

On 12/17/02 12:01 PM, "matt neuburg" <<email_removed>> 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_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSDocumentController singleton problem, part 2 Brad Oliver Dec 16, 07:42
mlRe: NSDocumentController singleton problem, part 2 matt neuburg Dec 17, 19:01
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Dec 17, 22:58
mlRe: NSDocumentController singleton problem, part 2 matt neuburg Dec 18, 18:49
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Dec 18, 20:36
mlRe: NSDocumentController singleton problem, part 2 matt neuburg Dec 19, 17:57
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Dec 19, 19:18
mlRe: NSDocumentController singleton problem, part 2 Mike Ferris Dec 20, 18:59
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Jan 3, 22:29