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

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


  • Follow-Ups:
    • Re: Re: License file in Document Architecture
      • From: "Mark Munz" <email@hidden>
References: 
 >License file in Document Architecture (From: Kevin Hoctor <email@hidden>)
 >Re: License file in Document Architecture (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: License file in Document Architecture
  • Next by Date: Re: Re: License file in Document Architecture
  • Previous by thread: Re: License file in Document Architecture
  • Next by thread: Re: Re: License file in Document Architecture
  • Index(es):
    • Date
    • Thread