Please give me a quote on the following: I already have an iOS app that uses CoreData (SQLite) as its internal database. I want a way for the users to be able to back up to DropBox. I would like a class that I can just drop into my project that will give this functionality. DropBox already offers the class that interfaces with iOS however there is some coding that needs to be done. So in summary I would need a sample iOS application with 2 buttons
1) Backup to Dropbox
Copies the internal SQLite file to Drop Box. If there is already a copy in Drop Box advise the user that this backup will overwrite the Drop Box backup. Give the date-time of the current DropBox backup. Ask user if they want to proceed or not. If Yes copies the internal SQLite file to Drop Box, if user answers no process stops.
2) Restore from Dropbox
When restoring from DropBox a local backup must be made before hand [login to view URL], copy from DropBox copied locally, DropBox_YYYYMMDDHHMMSS.sqlite. Make sure the database ([login to view URL]) is valid (otherwise the iOS app crashes). If valid all connections with current database closed. Drop Box copy overwrites to local database name Local.sqlite. Reconnect all connections. If new database is not valid then restore from local backup Local_YYYYMMDDHHMMSS.sqlite.
This Application will be developed using iOS 6 but should work on iOS 4.3 and above.
Code must be tested and commented before sending it to me. I will then take your code and incorporate it into my app and test it myself a 2nd time.
Let me know if you have any questions or if anything is unclear.
Thanks to all bidders.