• 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: How to obtain icon displayed by Finder for a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to obtain icon displayed by Finder for a file


  • Subject: Re: How to obtain icon displayed by Finder for a file
  • From: Jelle De Laender <email@hidden>
  • Date: Wed, 7 Jan 2009 22:49:51 +0100

Did you try

- (NSImage *)iconForFile:(NSString *)fullPath

from NSWorkSpace?


CodingMammoth Jelle De Laender email@hidden



On 07 Jan 2009, at 22:42, David wrote:

Hello,Is there a way to obtain the icon that finder uses to display for a
file system object? Such things as the folder icon for folders, PDF icon for
pdfs etc.


Thanks
_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: How to obtain icon displayed by Finder for a file
      • From: Rob Keniger <email@hidden>
    • Re: How to obtain icon displayed by Finder for a file
      • From: David <email@hidden>
References: 
 >How to obtain icon displayed by Finder for a file (From: David <email@hidden>)

  • Prev by Date: Re: How to obtain icon displayed by Finder for a file
  • Next by Date: Re: Can I call unbind: in finalize? Is it thread safe?
  • Previous by thread: Re: How to obtain icon displayed by Finder for a file
  • Next by thread: Re: How to obtain icon displayed by Finder for a file
  • Index(es):
    • Date
    • Thread