Re: How to find icon file path?
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.