
Receive notifications when the user starts or stops browsing the content of a monitored folder.I would guess this is what Dropbox uses to achieve this and some/all the other functionality facilitated by this extension. You can also use the extension point’s API to add a toolbar button to the Finder window or a sidebar icon for the monitored folder. In El Capitan (10.11), System Integrity Protection will not permit the old mach_inject-style approach.Īccording to the documentation for the Finder Sync Extension: Lacking similar treatment, other ordinary folders have only generic icons in the sidebar.Įdit : As of Yosemite (10.10), there is a new, sanctioned Finder Sync API for integration, as doovers points out in another answer. If you're curious, the resource files live here (at least, on my system): /Library/DropboxHelperTools/Dropbox_u502/DropboxBundle.bundle/Contents/ResourcesĬlearly, Dropbox goes to great lengths in order to integrate seamlessly into the Finder. The same bundle provides both the toolbar item and the sidebar icon. Some curious folks on StackOverflow found the specific mechanism used by Dropbox: good ol' mach_inject. In non-technical speak, it's a special hack that's installed by the Dropbox application. The short answer is that Dropbox uses undocumented API to accomplish this.

So why does Dropbox get special treatment? As you've noticed, recent versions of OS X only display generic folder icons in the sidebar.
