I’m kinda lost here and I would appreciate if someone would clear things..
My need is to synchronize the content in my app with the content on the server and I have a working Core Data model.
I understand the following:
-The best way to synchronize data on the web with an iPhone is using JSON.
-CoreData needs to be translated to-from JSON because CoreData don’t speak web.
-Its not complicated to translate myself with this example
but lidenbrock is a library for translating coreData to-from JSON.
–RestKit is integrated with CoreData and does the translation built-in.
–JSONKit is the fastest way to synchronize data
After that the question is should I use JSONKit + lidenbrock or use RestKit instead?
any suggestions? did I miss something?
Thanks.
Restkit works like a charm and it is bundled with JSONKit.
“RestKit provides JSON parser implementations using JSONKit, SBJSON & YAJL. The recommended parser is JSONKit (as it is known to be the fastest JSON implementation available), but you may choose whatever parser you like and they can be changed at runtime.”
But Restkit does more than translating objects, it actually maps RESTful requests to actions in your Model, thus abstracting all the data handling needed after a GET, POST, DELETE request to your backend.