Great, thanks! Perfect answer,actually...

—Graham


> On 21 May 2016, at 1:00 AM, Jens Alfke <j...@mooseyard.com> wrote:
> 
> 
>> On May 20, 2016, at 12:58 AM, Graham Cox <graham....@bigpond.com> 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 (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

Reply via email to