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 for QuickDraw/Quesa 3DMF files, how do deal with this?




On Jan 17, 2006, at 12:13 PM, Sean McBride wrote:
UTIs are great, but things get messy when Apple doesn't define a UTI for
a file type that is _not_ mine, but that I and many applications use.

Yes, this is when you must live on The Bleeding Edge of UTIs.

However, there is a procedure which works pretty well and allows you to move forward now. Since Apple is the arbiter of b both public and Apple-proprietary UTIs, it all starts with a bug report:

1. Submit an enhancement request to Apple explaining the technical details of the UTI. Include the proposed declaration if you have one (as you do). This will allow Apple to coalesce duplicate requests from different 3rd parties into one eventual UTI declaration.

2. We (Apple) will provide timely email feedback to you regarding the proposed UTI. We will come to mutual agreement on an appropriate UTI declaration.

3. You may then include the XML declaration in your app's Info.plist as an imported type (just as you suggest).

4. In a future release of Mac OS X, the system will export a declaration of the UTI which will override your app's declaration. Every effort will be made to export a compatible, if not identical, UTI declaration.

So, your proposal looks pretty good, but to make it official and ensure its future standardization by Mac OS X, send us an enhancement request. I suspect in this case we'll suggest a UTI in the "com.apple." namespace.

-Chris

For example, the QD3D 3DMF format.  What should I do?  In particular:

1) What UTTypeIdentifier to use?
2) What to conform to? public.audiovisual-content or public.image or ...?
3) What happens if what I choose is different from what other apps choose?


I'm thinking of going with this:

	<key>UTImportedTypeDeclarations</key>
	<array>
		<dict>
			<key>UTTypeConformsTo</key>
			<array>
				<string>public.data</string>
			</array>
			<key>UTTypeDescription</key>
			<string>QuickDraw 3D 3DMF file</string>
			<key>UTTypeIdentifier</key>
			<string>com.somebody.3dmf</string>
			<key>UTTypeTagSpecification</key>
			<dict>
				<key>com.apple.ostype</key>
				<string>3DMF</string>
				<key>public.filename-extension</key>
				<array>
					<string>3dmf</string>
					<string>3dm</string>
				</array>
				<key>public.mime-type</key>
				<string>x-world/x-3dmf</string>
			</dict>
		</dict>
	<array>

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________ 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

_______________________________________________ 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
References: 
 >UTI for QuickDraw/Quesa 3DMF files, how do deal with this? (From: "Sean McBride" <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.