I have a UITableViewController.

I want to call a URL (<http://webservices.company.nl/api?station=ut>) multiple times (for each train station) where "ut" is always different (it's the code of the station). And I want to put the results each time in a new tableview row. (The URL returns XML).

To call the URL, I use this:

```
                // Create connection
                NSURLConnection *urlConnection = [NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat: @"http://webservices.company.nl/api?station=%@", station.stationCode]]] delegate:self];
                [urlConnection start];

```

Then in "connectionDidFinishLoading" I've this for parsing the URL content with NSXMLParser:

```
- (void)connectionDidFinishLoading:(NSURLConnection *)connection
{
NSXMLParser *parser = [[NSXMLParser alloc] initWithData:receivedDataFromURL];
[parser setDelegate:self];
[parser parse];
}

```

I've implemented all the methods like "didStartElement", "didEndElement" and it successfully reads all the elements in the file.

**My question:**

What's the best way to do this ***for every row*** in my tableview and how can I put the results in every row?
I don't know what the best structure is for this, because I want to do this async.

Many thanks in advance.