Re: Need advice on a custom run-loop mode
Re: Need advice on a custom run-loop mode
- Subject: Re: Need advice on a custom run-loop mode
- From: Jens Alfke <email@hidden>
- Date: Fri, 20 May 2016 08:00:30 -0700
> On May 20, 2016, at 12:58 AM, Graham Cox <email@hidden> wrote:
>
> First question: does that even sound like a proper use for a custom run-loop mode?
Yes.
> If the answer is yes, how do I cause the run loop to run in that mode? Do I have to run the loop mysef until the operation is done?
Yes, use a `while` loop that calls -runMode:beforeDate: repeatedly until all of the actions are done.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden