Re: typeFromFileExtension in Leopard SDK
Re: typeFromFileExtension in Leopard SDK
- Subject: Re: typeFromFileExtension in Leopard SDK
- From: Eric Slosser <email@hidden>
- Date: Mon, 13 Apr 2009 20:52:06 -0400
On Apr 13, 2009, at 5:29 PM, Kyle Sluder wrote:
Did you declare your com.comp.app.doc1 UTI as an exported type in your
Info.plist?
Nope. Since you seemed to be suggesting that was the problem, I
added the following to Info.plist. But it didn't help. Am I missing
something?
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>
</array>
<key>UTTypeDescription</key>
<string>some description</string>
<key>UTTypeIdentifier</key>
<string>com.comp.app.doc1</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>doc1</string>
</array>
</dict>
</dict>
</array>
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>
</array>
<key>UTTypeDescription</key>
<string>some description</string>
<key>UTTypeIdentifier</key>
<string>com.comp.app.doc1</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>doc1</string>
</array>
</dict>
</dict>
</array>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden