I'm trying to figure out how to inform launch services that my application can handle all file types. Dragging files to the application icon in the Finder works as expected, but the Dock icon refuses to accept drops(!) I've added the following to the info.plist (the actual document type has been changed):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd ">
<plist version="1.0">
<dict>
        <key>CFBundleTypeName</key>
        <string>com.myidentifier.product</string>
        <key>LSItemContentTypes</key>
        <array>
                <string>public.data</string>
                <string>public.content</string>
        </array>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>LSHandlerRank</key>
        <string>None</string>
        <key>NSDocumentClass</key>
        <string>DSDocument</string>
</dict>
</plist>


_______________________________________________

Cocoa-dev mailing list ([email protected])

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

This email sent to [email protected]

Reply via email to