Re: iconForFile
Re: iconForFile
- Subject: Re: iconForFile
- From: Chris Williams <email@hidden>
- Date: Thu, 15 Nov 2007 18:19:49 -0800
- Thread-topic: iconForFile
I too use iconForFile and it's not slow at all. In fact, my application
does it for every file in a folder and even on folders of thousands, it's no
where near the slowest part of the process.
> From: Ron Fleckner <email@hidden>
> Subject: Re: iconForFile
>
>
>> I use [NSWorkspace sharedWorkspace] iconForFile:filePath] to get
>> the 128x128
>> icon of a file or a folder. It works well, but it is amazingly
>> slow. It get
>> the icon in about 1 second, much more that getting a thumbnail of a
>> large
>> jpg file by CGImageSourceCreateThumbnailAtIndex.
>> Is a faster way, even an old carbon way, working on Tiger and Leopard?
_______________________________________________
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