I am developing an iPhone app. In the app, I need to load a lot of data (JSON) from the web and then create the view accordingly. Please suggest me how to proceed.
Basically what I am doing is
1. Load a json from array a web-service.
2. The array received above contains urls to other web services. Lets say, 8
3. So now I need call 8 web services and after fetching, I have to parse the data and then show this to user.
Its the first time I am dealing with a web-service. So have no idea how to do that.
the major problem is the time consumption. How can I implement multithreading in it?
Please suggest any idea or link that could help me.
What i’d do:
NSThreadand corresponding@autoreleasepoolwhich loads the first jsonNSMutableArraySomething like this?
(haven’t tested it):