License file in Document Architecture
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