Getting in Sync with OS X
In this article, I will present how to utilize Tiger’s sync services to keep an application in sync with the bookmarks stored in Safari. Although this example walks through synchronizing bookmarks, it does cover all the basic portions of syncing with an existing application and can be used as a base for building a synchronizing application against any of the existing applications from Apple or from any other vendor who has been kind enough to publish their schema.
Overview
If an application is interested in using the sync services of Tiger, it must first register a client with the truth database so that it can be invited to participate in sync sessions. In addition, registering the client lets the truth database know what data the application is interested in. Once a client is registered, the truth database will keep track of what data has been pushed to the application and what changes still need to be pushed.