I am trying to load web data asynchronously. I understand that I can use the following, but I don't know how to call the void(load) method. How do I call this? It doesn't appear to be called automatically. Thanks!
- (void)load
{
NSURL *myURL = [NSURL URLWithString:[NSString
stringWithFormat:@"http://www.website.com"]];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:myURL
cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60];
[[NSURLConnection alloc] initWithRequest:request delegate:self];
}