Part of my code uses:

[[NSWorkspace sharedWorkspace] iconForFile:path];

For some files, I get a thumbnail of the file, so e.g., for a JPEG, I get a 
miniature of the actual image in the JPEG. But for other files, even in the 
same directory, I get the file type icon, so e.g., for a JPEG, the OS X JPEG 
icon.

All these files show the miniature of the image in Finder.

I've also tried with [NSFileWrapper icon]. Same result.

Can anyone shed light on this?

Thanks,

Sandy_______________________________________________

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

Reply via email to