On Jul 16, 2010, at 5:36 PM, John Joyce wrote: > On Jul 16, 2010, at 4:28 PM, Eric Gorr wrote: > >> Is there a unix tool to which I can pass a file and have it tell me where >> the icon for the file is coming from? >> >> Thank you._______________________________________________ >> > Also see NSWorkspace Class Reference > > > iconForFile: > Returns an image containing the icon for the specified file. > > - (NSImage *)iconForFile:(NSString *)fullPath
Thanks. Is there a way to get the path to the icon that was obtained? The reason I need this is purely for debugging purposes. An icon is being assigned to a file that shouldn't be assigned and it would be helpful to know where the icon is coming from exactly. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com