Tangled NSDocuments
Tangled NSDocuments
- Subject: Tangled NSDocuments
- From: Tom Gray <email@hidden>
- Date: Thu, 18 Sep 2003 22:42:17 -0400
He he... can I ask for help yet again?
I am the idiot who has a VT-100 Terminal with a Session Log built into
the Terminal (that's one NSDocument subclass) and the ability to open
saved Session Logs in a simple editor (that's the second NSDocument
subclass.)
Well, I have been trying to get the Terminal doc to save documents as
editor docs and now all of a sudden I can no longer open previously
saved editor docs. The app is trying to open them as Terminal! (My
Terminal can't reload saved sessions that is the job of the editor).
So, what could I possibly have done to cause the NSDocumentController
to start instantiating Terminals when I load previously saved Editors?
I want to have a multi-document type application where both document
types use a common file format. Those files, when opened, only create
one document type, the Editor.
Is there someone out there who would like to get into a discussion with
me about NSDocuments, NSDocumentController and the filing system?
Tom Gray
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.