• 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 find icon file path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find icon file path?


  • Subject: Re: How to find icon file path?
  • From: Clark Mueller <email@hidden>
  • Date: Tue, 23 Jul 2002 18:06:56 -0600

Sorry, you lost me there somewhere... The path to the icon's file is the same path that you pass to [NSFileManager iconForFile:]. Isn't that what you're looking for? If what you are saying is that you have an NSImage that is the icon, you cannot figure out the path that it belongs to, at least not using included APIs, and probably not with anything else, either, as there is probably going to be more than one file using that icon.

Clark

On Tuesday, July 23, 2002, at 05:12 PM, Chris Anderson wrote:

Given some arbitrary file, how does one retrieve the path to its
corresponding icon file?

I know about NSFileManager iconForFile:, but it doesn't quite do what I
want, because I require a path to the icon file itself rather than the
NSImage contained in it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to find icon file path?
      • From: Chris Anderson <email@hidden>
References: 
 >How to find icon file path? (From: Chris Anderson <email@hidden>)

  • Prev by Date: Error with most basic method
  • Next by Date: Re: arrayWithObjects question
  • Previous by thread: How to find icon file path?
  • Next by thread: Re: How to find icon file path?
  • Index(es):
    • Date
    • Thread