I parse HTML Data from a Website with the help of the TFHppleElement. Now during the parsing in the for loop I want to update the progressView but it isn't working. Why?
My Code:
ParseHTMLData.m
for (...) {
...
for (...) {
for (...) {
...
}
}
SecondViewController *svc = [[SecondViewController alloc] init];
float prog = 0.9f; //For testing a fix value
[svc setProgressAnimated:[NSNumber numberWithFloat:prog]];
}
SecondViewController.m
-(void)setProgressAnimated: (NSNumber *)number;
{
[self.progressView setProgress:[number floatValue] animated:YES];
}