• 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: 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


  • 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>)

  • Prev by Date: Question about orderFront/orderBack etc.
  • Next by Date: Re: Question about orderFront/orderBack etc.
  • Previous by thread: Need advice on a custom run-loop mode
  • Next by thread: Re: Need advice on a custom run-loop mode
  • Index(es):
    • Date
    • Thread