Re: Programmatically Change Icon
Re: Programmatically Change Icon
- Subject: Re: Programmatically Change Icon
- From: Pierce Freeman <email@hidden>
- Date: Sun, 22 Mar 2009 16:06:12 -0700
- Thread-topic: Programmatically Change 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:
I kind of figured that it was a bit odd. I am using iconForFile and then
the path.
> 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?
Presumably, but if the user deleted the application it would be nice to
alert the user saying something instead of just showing some empty page
icon. ;)
_______________________________________________
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