• 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
Custom document icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom document icons


  • Subject: Custom document icons
  • From: "Chris McFarling" <email@hidden>
  • Date: Tue, 17 Apr 2007 18:44:06 -0500

I'm not a Mac programmer but have a couple questions that I think requires OS X programming knowledge.

When an app creates/saves a document, the document can have a custom icon assigned to it. From what I gather there are a couple ways to associate the custom icon with the document type. One is the old fashioned way that utilizes a resource fork and the other uses newer OS X specific techniques. If a resource fork is not used, do type/creator codes still need to be present for OS X to utilize a custom document icon?

Photoshop (and maybe other graphics apps) is unique in that it can save a thumbnail representation of the image as the document icon. This means that every document can have a unique icon. Currently, even with the latest versions of Photoshop (haven't tried CS3 yet though) & OS X, a resource fork is still being used to accomplish this type of custom icon. Is there any other way that this can be done without using a resource fork, currently or in the future? Does Adobe plan on using resource forks for the forseeable future? Will OSX support resource forks for the forseeable future?
_______________________________________________

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

  • Follow-Ups:
    • Moderator: EOT [Re: Custom document icons]
      • From: cocoa-dev-admins <email@hidden>
    • Re: Custom document icons
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: safe and efficient way tp duplicate NSMutable array
  • Next by Date: Re: silly question about build/release
  • Previous by thread: Re: safe and efficient way tp duplicate NSMutable array
  • Next by thread: Re: Custom document icons
  • Index(es):
    • Date
    • Thread