I'm updating a utility which mounts a virtual drive; I want that drive link to be available in Finder's Favourites sidebar when it's open, the same way that the Dropbox folder's link displays.
Under OSX, I was able to use LSSharedFileListInsertItemURL, but this has long since been deprecated.
What's the current best-practice way to add something to that sidebar programmatically at runtime, using Swift? (If best practice is just not to do it -- how does Dropbox get away with it?)
Under OSX, I was able to use LSSharedFileListInsertItemURL, but this has long since been deprecated.
What's the current best-practice way to add something to that sidebar programmatically at runtime, using Swift? (If best practice is just not to do it -- how does Dropbox get away with it?)