> On May 23, 2016, at 2:41 PM, Fritz Anderson <fri...@manoverboard.org> wrote: > > Hence the rule that you don’t do _anything_ lengthy on the main (GUI-runloop) > thread. You can see how using a separate thread would solve your problem. > Welcome to 2003.
Less dogmatically, you can use -performSelector:withObject:afterDelay:, with a zero delay, to schedule the actual work to take place right after the alert finishes handling the event and closing. —Jens _______________________________________________ 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