On 18.07.2012, at 12:37, Alfian Busyro wrote:
> Just like I thought, injecting code is not a good way to do this.
> So, is it impossible to do this without injecting code to Finder ?

BTW -- just because nobody has mentioned it yet: You can also take the approach 
many other applications use: Create your own window, with your own list of 
files, and show whatever information you wanted to show in an overlay on 
Finder's icon. You can ask NSWorkspace for the icon you should show for a file, 
and then display that in one column of your NSTableView, for example. And 
NSWorkspace can also open a file just like Finder would do. And you can ask 
NSFileManager for the list of files in a particular folder. So essentially 
you'd be building a (very limited and much simpler) mini-Finder that only does 
what is needed for your application.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.com




_______________________________________________

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

Reply via email to