I have my sqlite database. now i want syncing with icloud. I read blogs saying sqlite syncing with icloud is not supported. Either go for core data OR “Do what exactly core data does”.
Now it is not posible for me to go for core data.So like second option “Do something similar to how CoreData syncs sqlite DBs: send “transaction logs” to iCloud instead and build each local sqlite file off of those.”
please can anyone share any sample code for “transaction log” of sqlite OR can expalin in detail stepwise what i need to do?
1) I followed this link to create xml. You can download respective api from its github.Link is – http://arashpayan.com/blog/2009/01/14/apxml-nsxmldocument-substitute-for-iphoneipod-touch/
2) on button click:
3)MyDocument.h file
4)MyDocument.m file
5) now in ur appdelegate
6) now in parser method fetch data and insert/update as needed in database.