Re: License file in Document Architecture
Re: License file in Document Architecture
- Subject: Re: License file in Document Architecture
- From: Kevin Hoctor <email@hidden>
- Date: Thu, 26 Oct 2006 11:04:19 -0500
On Oct 26, 2006, at 10:41 AM, I. Savant wrote:
Is there some specific reason you need to open your license file
as a document, using the Cocoa document architecture?
Yes, I want the user to be able to open the license file from the e-
mail or from the finder and have it associated with my application.
The only way I could figure out to handle this is to set the
CFBundleTypeExtensions in my Info.plist and handle this document with
another subclass. It works and it's not that much work, but if there
is a more "proper" way, I'd like to learn it.
I do store the license data in the preferences after this initial
action and load it from there. It's only the initial loading of the
license file that is handled via the document architecture.
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