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

Re: iconForFileType broken


  • Subject: Re: iconForFileType broken
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 7 May 2001 11:58:14 -0700

On Sunday, May 6, 2001, at 07:21 PM, Steve Gehrman wrote:

folderIcon = [[[NSWorkspace sharedWorkspace] iconForFileType:NSDirectoryFileType] retain];

NSDirectoryFileType is, as documented, a return value for getInfoForFile:, not an argument to iconForFileType:. The arguments for iconForFileType: are file type strings in the sense described in Foundation/NSHFSFileTypes.h: either extensions or else encoded HFS types. There do appear to be some circumstances in which the lower-level services that NSWorkspace uses return a less-specific icon to iconForFileType: than to iconForFile:. We are working on this issue.

Douglas Davidson


References: 
 >iconForFileType broken (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: FindFolder Equivalent?
  • Next by Date: Re: runModalForWindow and NSTimer strange behavior
  • Previous by thread: iconForFileType broken
  • Next by thread: System-wide networking notifications?
  • Index(es):
    • Date
    • Thread