• 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: iconForFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iconForFile


  • Subject: Re: iconForFile
  • From: Lorenzo <email@hidden>
  • Date: Fri, 16 Nov 2007 18:15:32 +0100

You were right. I found the bug. My mistake. Sorry.

Best Regards
--
Lorenzo
email: email@hidden

> From: "I. Savant" <email@hidden>
> Date: Fri, 16 Nov 2007 09:53:43 -0500
> To: Lorenzo <email@hidden>
> Cc: Ron Fleckner <email@hidden>, email@hidden
> Subject: Re: iconForFile
>
> On 11/16/07, Lorenzo <email@hidden> wrote:
>> Did you try to display the icons of the folders in the Home folder?
>> I mean, Music, Pictures, Documents, Public, Sites...
>> Anyway iconForFile works slowly even with normal folders.
>> I could display a pre-loaded folder icon, but in this case I cannot longer
>> show the icons of the above special folders.
>
> Have you used the appropriate profiling tools to verify that this is
> indeed where the slowdown occurs? You have not addressed this crucial
> question. I just did a quick test myself and this:
>
> NSImage * img = [[NSWorkspace sharedWorkspace] iconForFile:pathToSomeFile];
>
> ... executes in a very small fraction of a second. If you're
> assuming that's where the slow-down is, test your assumptions using
> the proper tools. Evidence so far suggests this is not where your
> problem is.
>
> --
> I.S.

_______________________________________________

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

References: 
 >Re: iconForFile (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: CoreImage problems with very large images
  • Next by Date: Re: CoreImage problems with very large images
  • Previous by thread: Re: iconForFile
  • Next by thread: Re: iconForFile
  • Index(es):
    • Date
    • Thread