Re: Dragging files to ImageApp
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