I am calling the following Class method from within my ViewController init method:
[NSURLConnection sendAsynchronousRequest:urlrequest
queue:opQueue
completionHandler:^(NSURLResponse *response, NSData *data, NSError*error){
// Update an NSMutableArray (an Instance variable
[self tableView] reloadData]; // is this ok to call?
}];
This code working as intended and tableView refreshes appropriately, My concern: is this call thread safe?. is it ok to access an UI element from the completion block?
Thanks,
Vinod