• 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: File Icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Icon


  • Subject: Re: File Icon
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 6 Nov 2001 10:24:56 -0800

On Tuesday, November 6, 2001, at 09:48 AM, Chuck Norris wrote:

I would add to Joshua's question "could someone point out a useful resource that explains exactly how icons are used"? Specifically, I'm curious about how the various sizes are used in the Finder, as well as the various NSWorkspace methods.

It looks like the Finder just uses the largest resolution version in my .icns file and scales it to whatever size is needed. I'm curious if I put a lot of work into making smaller versions look good if it would help. Ideally, it would choose the closest resolution available and scale from that.

I can't speak for the Finder, but I can talk about NSWorkspace. As someone said, NSWorkspace simply makes an NSImage from the IconRef and sets the overall image size to 32x32. Most Cocoa code uses the image obtained in this way, although there may be some that uses IconRefs directly.

Douglas Davidson


References: 
 >Re: File Icon (From: Chuck Norris <email@hidden>)

  • Prev by Date: Re: connecting objects from different NIB files?
  • Next by Date: Re: Bug in setKeyEquivalentMask:?
  • Previous by thread: Re: File Icon
  • Next by thread: Re: File Icon
  • Index(es):
    • Date
    • Thread