• 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: receiving a file on app startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >receiving a file on app startup (From: Torsten Curdt <email@hidden>)
 >Re: receiving a file on app startup (From: PGM <email@hidden>)
 >Re: receiving a file on app startup (From: Torsten Curdt <email@hidden>)
 >Re: receiving a file on app startup (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Making 'return' Begin Editing, like Finder does
  • Next by Date: Re: receiving a file on app startup
  • Previous by thread: Re: receiving a file on app startup
  • Next by thread: Re: receiving a file on app startup
  • Index(es):
    • Date
    • Thread