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: Graham Cox <email@hidden>
- Date: Sat, 21 May 2016 12:14:54 +1000
Great, thanks! Perfect answer,actually...
—Graham
> On 21 May 2016, at 1:00 AM, Jens Alfke <email@hidden> wrote:
>
>
>> 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