Re: receiving a file on app startup
Re: receiving a file on app startup
- Subject: Re: receiving a file on app startup
- From: Torsten Curdt <email@hidden>
- Date: Mon, 4 Feb 2008 00:50:38 +0100
Do I maybe just need to enable that application for the
particular file type?
Yes. It's in the build properties for the target. There's a place
where you can list the document types your app can open, specified
by any combination of extension, 4-char OS type, MIME type or UTI
type. (Apple seems to be pushing UTI atm.) This list ends up in
your app's info.plist, and that's where LaunchServices discovers
it, and that's how the Finder knows to enable the drag and drop.
Ha! In the target settings! Thanks!
cheers
--
Torsten
_______________________________________________
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