Tuesday, 15 May 2012

iPhone downloading many small JSON files and storing in DB asynchronously -


will download me 100 thousand JSONS, each JSON no more than 200 characters I'm using AF networking server side But there is a way to reduce the size and encode to send and I should be able to decode on the iPhone.

In addition to this, there is a method for downloading JSONS and storing it in DB on background thread. Because the sample code will really be helpful because I block it directly from the UI thread.

Need the best way to download HUGE-JSON and store it in DB. Thanks!

  [ Set set value: @ "gzip" forHTTPHeaderField: @ "Approved-En Coding "]   

Of course you can download JSONS in the background. Here is a good source of information and example code

No comments:

Post a Comment