NSData *responseData2= [NSURLConnection sendSynchronousRequest:request2 returningResponse:&urlResponse2 error:&error2];
aparser =[[NSXMLParser alloc]initWithData:responseData2];
Up to now I am calling a service and getting data completely in an array,after that loading in tableview.but when there is a huge data it’s taking long time to run, so how can i call service asynchronously and load the tableview at a time.
I want to go with Example for better understanding.Like following Xml response, if it has 1000 students to parse,so i want to get first student details and load it in tableview and second student details and load in Tableview…. and so on..
<Class>
<Student>
<Name>Rama</Name>
<Rollno>01</Rollno>
</Student>
<Student>
<Name>Ravi</Name>
<Rollno>02</Rollno>
</Student>
......
......
</Class>
Thanks in advance.