Just open sourced a new project, you can grab the code and read the full docs here: https://github.com/chrishulbert/CHBgDropboxSync
Obj-C / iPhone / iOS library for background syncing the contents of a folder to Dropbox, just like the ‘magical’ way that the desktop version automatically keeps everything in sync, by Chris Hulbert – [email protected]
Performs a 2-way sync process designed to either download or upload changes as necessary. Uses the NSUserDefaults to keep track of local files to help it decide whether to delete or transfer if a file is present one one side but not on the other.
To use this, add the Dropbox API to your app as you normally would, creating an interface to link (and unlink) as normal. Use this class to sync a local folder (typically your Documents folder in an iOS app) to your app’s folder on Dropbox in the background without user intervention.
Again, all the code’s on github: https://github.com/chrishulbert/CHBgDropboxSync
Thanks for reading! And if you want to get in touch, I'd love to hear from you: chris.hulbert at gmail.
(Comp Sci, Hons - UTS)
iOS Developer in Sydney.
I have worked at places such as Google, Cochlear, News Corp, Fox Sports, NineMSN, FetchTV, Woolworths, and Westpac, among others. If you're looking for a good iOS developer, drop me a line!