title: How to badge file and folder using Cocoa
body: <p>I want to badge a file and folder with some color (image). How can this be achieved?</p>
  
  <p>I tried with icon service, and it works for files, but it is not working with folders.</p>
  
  <p>I saw this behavior working <a href="http://en.wikipedia.org/wiki/Dropbox_%28service%29" rel="nofollow noreferrer">Dropbox</a> (10.4, 10.5 and 10.6)- how can this be done?</p>
  
  <p>The blog post <em><a href="http://www.cimgf.com/2008/06/16/cocoa-tutorial-custom-folder-icons/" rel="nofollow noreferrer">Cocoa Tutorial: Custom Folder Icons</a></em> was very close one for me, but it was not working as expected.</p>
  
  <p>Is there another solution other than icon service?</p>