I am new to iOS development, I have plain objective -c class \"MoneyTimer.m\" for running timer, from there i want to update the an UI label with the changing value of timer.
The proper way is this:
- (void) countUpH { sumUp = sumUp + rateInSecH; //Accessing UI Thread dispatch_async(dispatch_get_main_queue(), ^{ //Do any updates to your label here yourLabel.text = newText; }); }