• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dock refuses dropped files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dock refuses dropped files


  • Subject: Dock refuses dropped files
  • From: Keith Duncan <email@hidden>
  • Date: Mon, 29 Jun 2009 11:25:27 +0100

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@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


  • Prev by Date: Columns widths specified programmatically seem to be wider.
  • Next by Date: Re: Dispose pattern (was: Re: GC pros and cons)
  • Previous by thread: Re: Columns widths specified programmatically seem to be wider.
  • Next by thread: External Drives Questions
  • Index(es):
    • Date
    • Thread