Graphics Programs Reference
In-Depth Information
The
BNRConnection
will hold on to all of the data that returns from the web service.
When that web service completes successfully, it must first parse that data into the
xm-
take itself out of the array of active connections so that it can be destroyed. Implement the
following method in
BNRConnection.m
.
- (void)connectionDidFinishLoading:(NSURLConnection *)connection
{
// If there is a "root object"
if ([self xmlRootObject]) {
// Create a parser with the incoming data and let the root object parse