Sorry, here is the exported type section.

<key>UTExportedTypeDeclarations</key>
        <array>
                <dict>
                        <key>UTTypeConformsTo</key>
                        <array>
                                <string>public.xml</string>
                        </array>
                        <key>UTTypeDescription</key>
                        <string>Type A</string>
                        <key>UTTypeIdentifier</key>
                        <string>com.mycompany.typeA</string>
                </dict>
                <dict>
                        <key>UTTypeConformsTo</key>
                        <array>
                                <string>public.xml</string>
                        </array>
                        <key>UTTypeDescription</key>
                        <string>typeB</string>
                        <key>UTTypeIdentifier</key>
                        <string>com.mycompany.typeB</string>
                </dict>
        </array>


As for the fake info, I don't know the exact extent of the secrecy i'm supposed 
to have concerning my work, therefore I replaced with typeA and typeB, which in 
any case changes the meaning of the it. I could have replaced with .png and 
.jpg and put some realistic UTI for them, would it appear fake? No? Yet it 
would have been as much.

On Oct 23, 2013, at 5:20 PM, Kyle Sluder <k...@ksluder.com> wrote:

>> On Oct 23, 2013, at 6:17 AM, Half Activist <halfactiv...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to