I have a method
-(NSArray *) updateLabel:(id)sender {
[somelabel setStringValue:@"test"];
}
But the label never gets updated. If I move this out to an IBAction method, the label gets updated. Is there a way to update the label from within a non IBAction method ? Thanks.
Figured this out. Was blocking my main thread so the UI was not getting updated. Using GCD to update UI on main thread and run tasks on another queue solves this issue.