• 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
Tangled NSDocuments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Newbie Document Type Problem
  • Next by Date: Re: Problem with [NSStatusItem setTitle:]
  • Previous by thread: Newbie Document Type Problem
  • Next by thread: Finding a file or application
  • Index(es):
    • Date
    • Thread