Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI declarations vs. CFBundleDocumentTypes



On Oct 3, 2005, at 6:16 PM, Christopher Linn wrote:
>On Oct 3, 2005, at 8:26 AM, Marc Poirier wrote:
>> Are the contents of UTImportedTypeDeclarations or  
>> UTExportedTypeDeclarations in an Info.plist supposed to replace  
>> CFBundleDocumentTypes declarations, or can they (or ought they)  
>> coexist?
>
>A type declaration (UTExportedTypeDeclarations or  
>UTImportedTypeDeclarations) is distinct from a document role claim  
>(CFBundleDocumentTypes). They can and should coexist.
>
...
>
>As of 10.4, document role claims may reference document type  
>information via a UTI instead of by listing extensions and OSTypes  
>explicitly. 

So which <key> do you use inside a CFBundleDocumentTypes array to make a claim via UTI?  Is it LSItemContentTypes?

Also, if we want to support both MacOS X 10.3 and 10.4, should we keep the CFBundleTypeOSTypes and CFBundleTypeExtensions entries specified within the CFBundleDocumentTypes section of the plist also.  Seems redundant since this info is in the UTExportedTypeDeclarations, but maybe it's necessary?  Or is the claim using the UTI enough, even for 10.3? 


Thanks,
Jeff


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.