Is it possible to sync iphone app data (sql) with mac app?

How? Any tutorials?