• 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
Re: Dragging files to ImageApp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging files to ImageApp


  • Subject: Re: Dragging files to ImageApp
  • From: Ron Aldrich <email@hidden>
  • Date: Thu, 22 Mar 2007 14:26:14 -0700


On Mar 22, 2007, at 1:06 PM, Ron Aldrich wrote:

I'm working on an image editing application, which much like ImageApp, builds it's list of openable file types dynamically, rather than by hard coding it in info.plist.

The problem I'm encountering is that when you drag an image file to the application's dock icon, it isn't recognized - however, when you drag it to it's finder icon, it is recognized.

This problem is easily reproduced using ImageApp - just build it, launch it, and try to drag a .jpg onto it's dock icon.


Looks like I confused myself a bit - ImageApp doesn't accept drags to either its finder icon, or its dock icon.


I had added a list of recognized file types (CFBundleTypeExtensions) to my info.plist, which solved the finder icon problem, but the dock icon still doesn't work.

If you open ImageApp's info.plist file, and change XXCFBundleTypeExtensions to CFBundleTypeExtensions, it reproduces the problem I'm having.

Ron
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Dragging files to ImageApp (From: Ron Aldrich <email@hidden>)

  • Prev by Date: Re: Drawing on Another App's CGDisplayCapture
  • Next by Date: programatically resizing a sheet, visually from the bottom up
  • Previous by thread: Re: Dragging files to ImageApp
  • Next by thread: entity binding
  • Index(es):
    • Date
    • Thread