I checked but I didn't find any solution. Yes, Dropbox does the same but they use injecting. I can change icon using NSWorkspace but only the issue is don't want to set icon permanently. What are the ways to do it except injecting.
Regards, Rakesh On Tue, Aug 21, 2012 at 9:53 PM, Uli Kusterer <witness.of.teacht...@gmx.net>wrote: > On Aug 21, 2012, at 1:08 PM, Rakesh Singhal <rakesh.sing...@gmail.com> > wrote: > > I have to change icon for file/folder. I can user NSWorkSpace to get icon > > and set icon. The issue is this icon will be set permanently. If I copy > and > > paste file after changing icon then this icon also will be copied and > > pasted. I need to have original icon when I move the file. Is there way > to > > do it? > > > Look in the list archives, this was discussed a few weeks ago on this > list. I think "Dropbox" was mentioned as an example that does this. The > short answer is "there is no good way to do it". > > Cheers, > -- Uli Kusterer > "The Witnesses of TeachText are everywhere..." > http://www.zathras.de > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com