Multi document: design question
Multi document: design question
- Subject: Multi document: design question
- From: Alex Penner <email@hidden>
- Date: Tue, 30 Sep 2003 21:02:54 +0200
Hi List,
I've just started with a simple database application, to learn Cocoa
more deeply. (I did already some simple Cocoa stuff).
I want to edit documents. So for the model I thought about document
manager (represented through a main window), that can create new and
open existing documents (document windows). These documents are
"generic documents" referenced through ID and composed on the fly from
database.
I read about and would like to use multi document support, because of
the all advantages. But as I understood, I have to subclass
NSDocumentController, since the default one is designed to work with
files only?
So here are my questions:
What are the issues I have to pay attention to?
Are there any examples, how to subclass a NSDocumentController?
Are there any examples, that shows NSDocumentController subclass
working with "generic" documents?
Or would it be simpler to write my own document manager?
Best regards,
Alex
_______________________________________________
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.