I have working snippet along the lines of:
for (UIButton *b in buttonMapping) {
[b setTitle:@"yo!" forState:UIControlStateNormal];
[NSThread sleepForTimeInterval:1.0];
}
There's four buttons, all four buttons update. However, instead of updating one per second, four seconds go by & they all update.
How can I force UIButton to update? Or is this not the recommend method for sleeping?