NSTextField waits until the end of a loop to update

You can probably achieve the desired effect right inside your loop, if you explicitly give the run loop some time to run:

[[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow: 0.1]];

Leave a Comment