Re: Icon Overlay on Mac OSX
Re: Icon Overlay on Mac OSX
- Subject: Re: Icon Overlay on Mac OSX
- From: KappA <email@hidden>
- Date: Thu, 02 Aug 2012 16:41:43 -0400
I believe setIcon updates the file modification date... (please check as I
can't remember for sure)... which might go against what a file tracking
system might be trying to do.
i.e. will give false file modification updates because of setting the
updated icons.
If there is a way to do that without updating the file attributes, it would
work perfectly...
Kappa.
On Thu, Aug 2, 2012 at 4:22 PM, Uli Kusterer
<email@hidden>wrote:
> On 02.08.2012, at 07:47, Jens Alfke <email@hidden> wrote:
> > Set custom icons for the files? (I have no idea how custom file icons
> are done nowadays, though. They used to be stored in the resource fork, but
> that's been deprecated for a decade now. Maybe they're in extended file
> attributes?)
>
> NSWorkspace has a setIcon: forPath: method (or something like that) for
> this purpose. I think it was added around 10.6, might even be older. Or
> maybe it was NSFileManager. I mentioned it previously in this thread, not
> gonna look it up a second time.
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
>
>
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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