• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need advice on a custom run-loop mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Need advice on a custom run-loop mode
      • From: Graham Cox <email@hidden>
References: 
 >Need advice on a custom run-loop mode (From: Graham Cox <email@hidden>)
 >Re: Need advice on a custom run-loop mode (From: Jens Alfke <email@hidden>)

  • Prev by Date: Scrolling table view when the keyboard appears
  • Next by Date: Re: Need advice on a custom run-loop mode
  • Previous by thread: Re: Need advice on a custom run-loop mode
  • Next by thread: Re: Need advice on a custom run-loop mode
  • Index(es):
    • Date
    • Thread