title: Access to Safari bookmarks from another application
body: <p>I was wondering how we can access Safari bookmarks from another Cocoa application on Mac OS X, in a way that is safe and secure for the future. </p>
  
  <p>As you may know, two mechanisms were common to retreive Safari bookmarks: </p>
  
  <ul>
  <li>either read Safari's Bookmarks.plist file </li>
  <li>or use the SyncServices API. </li>
  </ul>
  
  <p>However, the first is forbidden by sandboxing (mandatory for a distribution through the App Store), and the second has been deprecated since Mac OS X 10.7 Lion. </p>
  
  <p>I believe that Apple deprecated SyncServices in favour of iCloud synching, but I can't find any iCloud API that allow access to the bookmarks (1). </p>
  
  <p>Any hint on where to look? Native Cocoa is preferred, but any non-deprecated, sandboxing-compatible solution is welcome. </p>
  
  <p>Thanks. </p>
  
  <p>(1) and, honestly, going through the internet (and thus requiring an internet connexion) to retrieve on a machine something on the same machine seems... awkward — but well, if it was the way to go at least that would be a possibility. </p>