Re: Programmatically Change Icon
Re: Programmatically Change Icon
- Subject: Re: Programmatically Change Icon
- From: "I. Savant" <email@hidden>
- Date: Sun, 22 Mar 2009 18:54:02 -0400
On Mar 22, 2009, at 6:29 PM, Pierce Freeman wrote:
But the odd thing is, if I set the path to a
file that I know doesn't exist (ex.
/Applications/
soidaoidaiodsaoidiasoadsoidoiaadiosoaidiodaoidasoidaoidasoiado
iasdoidaoidadasoidiaosasidoosdiaiodsiodsa.app) it will still return
some
weird page icon.
Come to think of it, it's strange that you get an icon for a non-
existent file, but if it *does* exist, I'd always expect some sort of
icon. I've never run into this situation personally. Which specific
method are you using? There are:
– iconForFile:
– iconForFileType:
– iconForFiles:
Just curious.
In your case, though, if you're going after applications, you'd
presumably already have a list of app bundle paths, so it shouldn't be
a problem, right?
--
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