• 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: Question about associating file types to applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about associating file types to applications


  • Subject: Re: Question about associating file types to applications
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 5 Nov 2005 21:22:42 +0100

Am 30.10.2005 um 05:14 schrieb <email@hidden> <email@hidden>:
So what is the recommended way to perform this association and is the file
extension the only way to associate application documents with applications?

You may want to do a good tutorial on Cocoa application programming. The Hillegass book, for example, explains how to perform this association using the Target Info panel in Xcode (which edits the Info.plist). The Launch Services docs will also be helpful.


Apart from file extensions and the Finder's user override (which, as the name says, is for users, so leave your fingers off of that *grin*), there are also the old Classic MacOS type and creator codes. Type codes basically let you store a code equivalent to a file extension on a file, which will survive even if the extension is removed or changed. Creator codes let you associate a particular application with a particular file (without touching other file associations, so this is handy if you want to claim a few special .txt or .htm files without causing the user pain). All of these can also be changed using Xcode's Target Info panel.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Uptime to Date/time
  • Next by Date: Re: nested autorelease pools?
  • Previous by thread: Re: Uptime to Date/time
  • Next by thread: 10.4.3 : CoreData crash
  • Index(es):
    • Date
    • Thread