I have a String message1, bound to TextField textField1. (OS X 10.10.5). - (void)computeSomething { self.message1 = @“Start computing”; // some seconds of computations self.message1 = @“Result = 42”; }
This never shows “Start computing”. (same problem with self. textField1.stringValue = @“Start computing”;) This rather ugly hack works: self.message1 = @“Start computing”; // 0.01 ok; 0.001 mostly ok; 0.0001 too small [ self performSelector: @selector(computeSomething) withObject: nil afterDelay: 0.01 ]; Is there a better way (without this rather arbitrary delay)? Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com