• 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
License file in Document Architecture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

License file in Document Architecture


  • Subject: License file in Document Architecture
  • From: Kevin Hoctor <email@hidden>
  • Date: Thu, 26 Oct 2006 09:28:50 -0500
  • Resent-date: Thu, 26 Oct 2006 09:53:25 -0500
  • Resent-from: Kevin Hoctor <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: Cocoa <email@hidden>

I have a program that uses the document architecture to manage multiple NSDocument subclasses (DQDocument). I just added the ability for it to read a license file (double-click support from the Finder) by adding another subclass (DQLicense) but I've had to use some workarounds to keep this method happy. I had to subclass NSDocumentController to keep the license file out of the recent file list and I've had to add a nib to quiet a warning. Now I'm finding that it sees this document as open still and I'll have to add one more workaround.

Is this the best way to handle opening a file that is not actually used in the program as a primary NSDocument?

Peace,
Kevin Hoctor
No Thirst Software
http://nothirst.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: License file in Document Architecture
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: MAC Software Development
  • Next by Date: Opening a folder in the Finder from my app
  • Previous by thread: RE: Help with objectiveC and soap using WSCore
  • Next by thread: Re: License file in Document Architecture
  • Index(es):
    • Date
    • Thread