Re: UIDocument's fileType reports wrong UTI.
Re: UIDocument's fileType reports wrong UTI.
- Subject: Re: UIDocument's fileType reports wrong UTI.
- From: Kyle Sluder <email@hidden>
- Date: Wed, 23 Oct 2013 08:20:15 -0700
> On Oct 23, 2013, at 6:17 AM, Half Activist <email@hidden> wrote:
>
> Here's the Info.plist section
>
> <key>CFBundleDocumentTypes</key>
> <array>
> <dict>
> <key>CFBundleTypeExtensions</key>
> <array>
> <string>typeA</string>
> </array>
> <key>CFBundleTypeIconFiles</key>
> <array/>
> <key>CFBundleTypeName</key>
> <string>Document Type A</string>
> <key>LSItemContentTypes</key>
> <array>
> <string>com.mycompany.typeA</string>
> </array>
> </dict>
> <dict>
> <key>CFBundleTypeExtensions</key>
> <array>
> <string>typeB</string>
> </array>
> <key>CFBundleTypeIconFiles</key>
> <array/>
> <key>CFBundleTypeName</key>
> <string>Document Type B</string>
> <key>LSItemContentTypes</key>
> <array>
> <string>com.mycompany.typeB</string>
> </array>
> </dict>
> </array>
1. Fake info is not useful. Real info only.
2. You left out the most important part—your actual UTI declarations (UTExportedTypeDeclarations).
--Kyle Sluder
_______________________________________________
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